add_mcp_server_tool_approval_route
Set tool-level approval policies for MCP server tools in ElevenLabs. Assign auto-approved or requires-approval routes to control which tool calls need human sign-off.
Instructions
Create Mcp Server Tool Approval
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mcp_server_id": "<mcp_server_id>",
"tool_name": "<tool_name>",
"tool_description": "<tool_description>"
},
"name": "add_mcp_server_tool_approval_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | The name of the MCP tool | |
| input_schema | No | The input schema of the MCP tool (the schema defined on the MCP server before ElevenLabs does any extra processing) | |
| mcp_server_id | Yes | ID of the MCP Server. | |
| approval_policy | No | Defines the tool-level approval policy. | |
| tool_description | Yes | The description of the MCP tool |