ToolValidationErrorEvent

data class ToolValidationErrorEvent(val runId: String, val toolCallId: String?, val toolName: String, val toolArgs: ToolArgs, val error: String, val eventId: String = ToolValidationErrorEvent::class.simpleName!!) : 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: ToolArgs, error: String, eventId: String = ToolValidationErrorEvent::class.simpleName!!)

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 this event, defaulting to the name of the class.

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, represented as the number of milliseconds since the Unix epoch, indicating when the feature event was created.

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.