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.

Constructors

Link copied to clipboard
constructor(runId: String, toolCallId: String?, tool: Tool<*, *>, toolArgs: ToolArgs, throwable: Throwable)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tool: Tool<*, *>
Link copied to clipboard
Link copied to clipboard