ToolValidationFailedContext

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

Represents the context for handling validation errors that occur during the execution of a tool.

Constructors

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

Properties

Link copied to clipboard

The error message describing the validation issue.

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
val tool: Tool<*, *>

The tool instance associated with the validation error.

Link copied to clipboard

The arguments passed to the tool when the error occurred.

Link copied to clipboard

The unique identifier for this tool call.