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
Code snippet
Updates live as you fill in the form above.
TypeScript
import elevenlabs from '@utdk/elevenlabs';
await elevenlabs.addMcpServerToolApprovalRoute({
"approval_policy": "requires_approval"
})