ToolCallFailureEvent
data class ToolCallFailureEvent(val runId: String, val toolCallId: String?, val toolName: String, val toolArgs: ToolArgs, val error: AIAgentError, val eventId: String = ToolCallFailureEvent::class.simpleName!!) : DefinedFeatureEvent(source)
Captures an event where a tool call has failed during its execution.
This event is typically used to log or handle situations where a tool could not execute successfully due to an error. It includes relevant details about the failed tool call, such as the tool's name, the arguments provided, and the specific error encountered.