ToolCallFailureContext
data class ToolCallFailureContext(val runId: String, val toolCallId: String?, val tool: Tool<*, *>, val toolArgs: ToolArgs, val throwable: Throwable) : ToolEventHandlerContext(source)
Represents the context provided to handle a failure during the execution of a tool.
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.