Created via FiddlerClient.startTool. All setter methods return
this for fluent chaining.
Methods
Set the input passed to the tool.
Overrides the base FiddlerSpan.setInput to write to
gen_ai.tool.input instead of gen_ai.llm.input.user.
Tool input (string or serializable object).
setOutput(output: unknown): this
Set the output returned by the tool.
Overrides the base FiddlerSpan.setOutput to write to
gen_ai.tool.output instead of gen_ai.llm.output.
Tool output (string or serializable object).
Set the tool/function definitions available in this context.
Record<string, unknown>[]
required
Array of tool definition objects.
Set the canonical tool/function name.
Tool name (e.g. "web_search", "calculator").