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())
constructor(runId: String, toolCallId: String?, toolName: String, toolArgs: JsonObject, error: String, timestamp: Long = Clock.System.now().toEpochMilliseconds())

Properties

Link copied to clipboard

A message describing the validation error encountered;

Link copied to clipboard
open override val eventId: String

A unique identifier for the event or a group of events;

Link copied to clipboard

Provides contextual information about the execution associated with this event.

Link copied to clipboard
Link copied to clipboard
open override val messageType: FeatureMessage.Type

Specifies the type of the feature message for this event.

Link copied to clipboard

A unique identifier representing the specific run or instance of the tool call;

Link copied to clipboard
open override val timestamp: Long

The timestamp of the event, in milliseconds since the Unix epoch.

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;

Link copied to clipboard

The name of the tool that encountered the validation error;