ToolCallFailedEvent

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


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

Deprecated

Use constructor with executionInfo parameter

Replace with

ToolCallFailedEvent(executionInfo, runId, toolCallId, toolName, toolArgs, error, timestamp)