Reference · Tools · tools.rs
options_to_json Function
Options as JSON, for workflows and the history.
func optionsToJson(options: ToolOptions) -> Stringpublic static string OptionsToJson(ToolOptions options)pub fn options_to_json(options: ToolOptions) -> StringParameters
| Name | Type | Swift / C# |
|---|---|---|
options | ToolOptions | options |
Returns
String
Errors
Does not throw.
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.