Reference · Tools · tools.rs

options_to_json Function

Options as JSON, for workflows and the history.

func optionsToJson(options: ToolOptions) -> String

Parameters

NameTypeSwift / C#
optionsToolOptionsoptions

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.