ToolValidationErrorContext

constructor(runId: String, toolCallId: String?, tool: Tool<*, *>, toolArgs: ToolArgs, error: String)(source)

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.