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.
Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"
Unique id of the agent to get MCP tools for.
1"oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
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"). 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 (or latest) 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"
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"]
}