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.

Parameters

tool

The tool instance associated with the validation error.

toolArgs

The arguments passed to the tool when the error occurred.

error

The error message describing the validation issue.

Constructors

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

Properties

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