provider Agents Platform POST /v1/convai/mcp-servers/{mcp_server_id}/tool-approvals
@utdk/elevenlabs /v1/convai/mcp-servers/{mcp_server_id}/tool-approvals
Create Mcp Server Tool Approval
Add approval for a specific MCP tool when using per-tool approval mode.
mcp_server_id path required
ID of the MCP Server.
string
xi-api-key header
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Try it

Authentication
Configure credentials for ElevenLabs API Documentation
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

addMcpServerToolApprovalRoute
POST/v1/convai/mcp-servers/{mcp_server_id}/tool-approvals
Add approval for a specific MCP tool when using per-tool approval mode.

Parameters

required

ID of the MCP Server.

Input

required

The name of the MCP tool

required

The description of the MCP tool

The input schema of the MCP tool (the schema defined on the MCP server before ElevenLabs does any extra processing)

Defines the tool-level approval policy.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import elevenlabs from '@utdk/elevenlabs';

await elevenlabs.addMcpServerToolApprovalRoute({
  "approval_policy": "requires_approval"
})