ToolCallFailureContext
constructor(runId: String, toolCallId: String?, tool: Tool<*, *>, toolArgs: ToolArgs, throwable: Throwable)(source)
Parameters
tool
The tool that was being executed when the failure occurred.
toolArgs
The arguments that were passed to the tool during execution.
throwable
The exception or error that caused the failure.