FiddlerTool

FiddlerTool

Wrapper for tool/function call spans with semantic convention helpers.

Initialize tool span wrapper.

enter()

Enter context and set tool type.

Return type: FiddlerTool

set_tool_name()

Set the tool/function name (gen_ai.tool.name).

Return type: None

set_tool_input()

Set the tool input arguments (gen_ai.tool.input).

Return type: None

set_tool_output()

Set the tool output/result (gen_ai.tool.output).

Return type: None

set_tool_definitions()

Set available tool definitions (gen_ai.tool.definitions).

Return type: None

Last updated

Was this helpful?