provider Agents Platform PATCH /v1/convai/mcp-servers/{mcp_server_id}/approval-policy
@utdk/elevenlabs /v1/convai/mcp-servers/{mcp_server_id}/approval-policy
Update Mcp Server Approval Policy
Update the approval policy configuration for an MCP server. DEPRECATED: Use PATCH /mcp-servers/{id} endpoint instead.
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.

updateMcpServerApprovalPolicyRoute
PATCH/v1/convai/mcp-servers/{mcp_server_id}/approval-policy
Update the approval policy configuration for an MCP server. DEPRECATED: Use PATCH /mcp-servers/{id} endpoint instead.

Parameters

required

ID of the MCP Server.

Input

required

Defines the MCP server-level approval policy for tool execution.

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.updateMcpServerApprovalPolicyRoute({
  "approval_policy": "require_approval_all"
})