ToolCallFailedContext

data class ToolCallFailedContext(val runId: String, val toolCallId: String?, val tool: Tool<*, *>, val toolArgs: Any?, val throwable: Throwable) : ToolCallEventContext(source)

Represents the context provided to handle a failure during the execution of a tool.

Constructors

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

Properties

Link copied to clipboard

Represents the specific type of event handled within the event handler context, categorizing the nature of agent-related or strategy-related events.

Link copied to clipboard

The unique identifier for this tool call session.

Link copied to clipboard

The exception or error that caused the failure.

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

The tool that was being executed when the failure occurred.

Link copied to clipboard

The arguments that were passed to the tool during execution.

Link copied to clipboard

The unique identifier for this tool call.