Get MCP Tools
Get MCP tools for a specific agent
Documentation Index
Fetch the complete documentation index at: https://docs.retellai.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"
Path Parameters
Unique id of the agent to get MCP tools for.
1"oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
Query Parameters
Optional version of the agent to use for this request. Default to latest version. Agent version reference. Supports a numeric version (for example 3) or a tag/environment name (for example "prod"). The string "latest" resolves to the most recently created version (the largest version number), and "latest_published" resolves to the most recently published version. When a tag is provided, resolution uses that exact tag assignment (including its dynamic variables). If the tag exists but is currently unassigned, it resolves to latest. When a numeric version, latest, or latest_published is provided, resolution applies dynamic variables from the preferred tag for that resolved version (most recently assigned), if any.
x >= 01
The ID of the MCP server to get tools from.
"mcp-server-1"
The ID of the component if the MCP server is configured under a component.
"component-123"
Response
Successfully retrieved MCP tools.
Name of the MCP tool.
"search_files"
Description of what the MCP tool does.
"Search for files in the filesystem"
JSON schema defining the input parameters for the tool.
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query"
}
},
"required": ["query"]
}