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.

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: 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
Link copied to clipboard
Link copied to clipboard
val tool: Tool<*, *>
Link copied to clipboard
Link copied to clipboard