ToolValidationFailedEvent

data class ToolValidationFailedEvent(val runId: String, val toolCallId: String?, val toolName: String, val toolArgs: JsonObject, val error: String, 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(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 messageType: FeatureMessage.Type

Specifies the type of the feature message for this event.

Link copied to clipboard
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
Link copied to clipboard

The name of the tool that encountered the validation error;