ToolValidationFailedEvent
data class ToolValidationFailedEvent(val eventId: String, val executionInfo: AgentExecutionInfo, val runId: String, val toolCallId: String?, val toolName: String, val toolArgs: JsonObject, val toolDescription: String?, val message: String?, val error: AIAgentError, val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : DefinedFeatureEvent(source)
Represents an event indicating that a tool encountered a validation error during its execution.
This event captures details regarding the tool that failed validation, the arguments provided to the tool, and the specific error message explaining why the validation failed.
Constructors
Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, runId: String, toolCallId: String?, toolName: String, toolArgs: JsonObject, toolDescription: String?, message: String?, error: AIAgentError, timestamp: Long = Clock.System.now().toEpochMilliseconds())
Properties
Link copied to clipboard
A message describing the validation error encountered;
Link copied to clipboard
Provides contextual information about the execution associated with this event.
Link copied to clipboard
Specifies the type of the feature message for this event.
Link copied to clipboard
The arguments associated with the tool at the time of validation failure;
Link copied to clipboard
A unique identifier for the tool call that encountered the validation error;
Link copied to clipboard
A description of the tool that encountered the validation error;