ToolCallResultContext
data class ToolCallResultContext(val runId: String, val toolCallId: String?, val tool: Tool<*, *>, val toolArgs: ToolArgs, val result: ToolResult?) : ToolEventHandlerContext(source)
Represents the context used when handling the result of a tool call.
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.
Constructors
Link copied to clipboard
constructor(runId: String, toolCallId: String?, tool: Tool<*, *>, toolArgs: ToolArgs, result: ToolResult?)