ToolValidationErrorContext

data class ToolValidationErrorContext(val runId: String, val toolCallId: String?, val tool: Tool<*, *>, val toolArgs: ToolArgs, val error: String) : ToolEventHandlerContext(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: ToolArgs, error: String)

Properties

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