import type * as ElevenLabs from "../index"; export interface McpServerConfigOutput { approvalPolicy?: ElevenLabs.McpApprovalPolicy; /** List of tool approval hashes for per-tool approval when approval_policy is REQUIRE_APPROVAL_PER_TOOL */ toolApprovalHashes?: ElevenLabs.McpToolApprovalHash[]; /** The transport type used to connect to the MCP server */ transport?: ElevenLabs.McpServerTransport; /** The URL of the MCP server, if this contains a secret please store as a workspace secret, otherwise store as a plain string. Must use https */ url: ElevenLabs.McpServerConfigOutputUrl; /** The secret token (Authorization header) stored as a workspace secret or in-place secret */ secretToken?: ElevenLabs.McpServerConfigOutputSecretToken; /** The headers included in the request */ requestHeaders?: Record; /** Optional auth connection to use for authentication with this MCP server */ authConnection?: ElevenLabs.AuthConnectionLocator; name: string; description?: string; /** If true, all tools from this MCP server will require pre-tool execution speech */ forcePreToolSpeech?: boolean; /** If true, the user will not be able to interrupt the agent while any tool from this MCP server is running. */ disableInterruptions?: boolean; /** Predefined tool call sound type to play during tool execution for all tools from this MCP server */ toolCallSound?: ElevenLabs.ToolCallSoundType; /** Determines when the tool call sound should play for all tools from this MCP server */ toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior; /** Determines when and how all tools from this MCP server execute: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */ executionMode?: ElevenLabs.ToolExecutionMode; /** List of per-tool configuration overrides that override the server-level defaults for specific tools */ toolConfigOverrides?: ElevenLabs.McpToolConfigOverride[]; /** Whether to disable HTTP compression for this MCP server. Enable this if the server does not support compressed responses. */ disableCompression?: boolean; }