onToolValidationError
suspend fun onToolValidationError(runId: String, toolCallId: String?, tool: Tool<*, *>, toolArgs: ToolArgs, error: String)(source)
Notifies all registered tool handlers when a validation error occurs during a tool call.
Parameters
runId
The unique identifier for the current run.
tool
The tool for which validation failed
toolArgs
The arguments that failed validation
error
The validation error message