apicheats.dev elevenlabs/llms.txt Raw .md
GET

/v1/convai/mcp-servers/{mcp_server_id}/tool-configs/{tool_name}

ElevenLabs API

Get Mcp Tool Configuration Override

Base URL
https://api.elevenlabs.io
Auth
xi-api-key: <ELEVENLABS_API_KEY>
Last verified
2026-09-03 · upstream hash matched
Actions
Agents: curl -H "Accept: text/markdown" this URL
→ 188 tokens · Vary: Accept

Critical gotchas

Authentication uses the non-standard xi-api-key header, not Authorization: Bearer. Sending a Bearer token returns HTTP 401.

Text-to-speech responses are raw binary audio, not JSON. Write the body to a file (--output speech.mp3) rather than parsing it.

cURL

curl -X GET 'https://api.elevenlabs.io/v1/convai/mcp-servers/mcp-server-id/tool-configs/example-tool-name' \  -H "xi-api-key: $ELEVENLABS_API_KEY"
Get a free ElevenLabs API key → sponsored

Parameters

Name In Type Required Description
mcp_server_id path string Yes ID of the MCP Server.
tool_name path string Yes Name of the MCP tool to retrieve config overrides for.

Response 200 OK

{
  "tool_name": "string",
  "force_pre_tool_speech": true,
  "pre_tool_speech": "auto",
  "disable_interruptions": true,
  "interruption_mode": "allow",
  "tool_call_sound": "typing",
  "tool_call_sound_behavior": "auto",
  "execution_mode": "immediate",
  "response_timeout_secs": 0,
  "assignments": [
    {
      "dynamic_variable": "user_name",
      "preserve_native_type": false,
      "sanitize": false,
      "source": "response",
      "value_path": "user.name"
    }
  ],
  "input_overrides": {},
  "response_mocks": [
    {
      "parameter_conditions": [
        {
          "eval": {
            "type": "[recursive or deeply nested schema]",
            "description": "[recursive or deeply nested schema]"
          },
          "path": "string"
        }
      ],
      "mock_result": "string",
      "is_error": false
    }
  ]
}