ToolCallResultContext

constructor(runId: String, toolCallId: String?, tool: Tool<*, *>, toolArgs: ToolArgs, result: ToolResult?)(source)

Parameters

tool

The tool being executed, which defines the operation to be performed.

toolArgs

The arguments required by the tool for execution.

result

An optional result produced by the tool after execution can be null if not applicable.