import type * as ElevenLabs from "../index"; export interface ToolExecutionResponseModel { /** The ID of the tool that was executed */ toolId: string; /** The request/call ID associated with this tool execution */ toolRequestId: string; /** The ID of the conversation where the tool was executed */ conversationId: string; /** The ID of the agent that ran the tool */ agentId: string; /** The branch ID if the agent has branches */ branchId?: string; /** Unix timestamp when the tool was executed */ timestamp: number; /** How long the tool execution took */ latencySecs: number; /** Whether the tool execution failed */ isError?: boolean; /** LLM-extracted parameters sent to the tool (JSON string) */ requestPayload?: string; /** Response returned by the tool */ responsePayload?: string; /** Error message if the tool execution failed */ errorMessage?: string; /** Error category (internal, customer_config, customer_auth, external_server, external_client, client_timeout, unknown) */ errorType?: string; id: string; toolCallDetails?: ElevenLabs.ToolExecutionResponseModelToolCallDetails; }