phonic
Version:
[](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FPhonic-Co%2Fphonic-node) [ • 1.44 kB
TypeScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
export interface ToolCallOutputProcessedPayload {
type: "tool_call_output_processed";
/** ID of the completed tool call */
tool_call_id: string;
tool: ToolCallOutputProcessedPayload.Tool;
/** Webhook endpoint URL (null for WebSocket tools) */
endpoint_url?: string | null;
/** Webhook timeout in milliseconds (null for WebSocket tools) */
endpoint_timeout_ms?: number | null;
/** When webhook was called (null for WebSocket tools) */
endpoint_called_at?: string | null;
/** Webhook request body (null for WebSocket tools) */
request_body?: Record<string, unknown> | null;
/** Webhook response body (null for WebSocket tools) */
response_body?: unknown | null;
/** WebSocket tool parameters (null for webhook tools) */
parameters?: Record<string, unknown> | null;
/** WebSocket tool output (null for webhook tools) */
output?: unknown | null;
/** Webhook HTTP status code (null for WebSocket tools) */
response_status_code?: number | null;
/** Whether the tool call timed out */
timed_out?: boolean | null;
/** Error message if tool call failed */
error_message?: string | null;
}
export declare namespace ToolCallOutputProcessedPayload {
interface Tool {
/** Tool ID */
id: string;
/** Human-readable tool name */
name: string;
}
}