ToolValidationFailedEvent

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())(source)


constructor(runId: String, toolCallId: String?, toolName: String, toolArgs: JsonObject, error: String, timestamp: Long = Clock.System.now().toEpochMilliseconds())(source)

Deprecated

Use constructor with executionInfo parameter

Replace with

ToolValidationFailedEvent(executionInfo, runId, toolCallId, toolName, toolArgs, message, error, timestamp)