Skip to main content
POST
Create Mcp Server Tool Approval

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Path Parameters

mcp_server_id
string
required

ID of the MCP Server.

Body

application/json

Tool approval details to add for an MCP Server.

tool_name
string
required

The name of the MCP tool

tool_description
string
required

The description of the MCP tool

input_schema
Input Schema · object

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

approval_policy
enum<string>
default:requires_approval

The tool-level approval policy

Available options:
auto_approved,
requires_approval

Response

Successful Response

Response model representing an MCP Server configuration.

id
string
required
config
MCPServerConfig · object
required
metadata
MCPServerMetadataResponseModel · object
required

The metadata of the MCP Server

access_info
ResourceAccessInfo · object | null

The access information of the MCP Server

Example:
dependent_agents
(DependentAvailableAgentIdentifier · object | DependentUnknownAgentIdentifier · object)[]

List of agents that depend on this MCP Server.