GET /get-mcp-tools/{agent_id}
Changed onGet MCP tools for a specific agent
Request
- Base URLhttps://api.retellai.com
- AuthHTTP bearer
Path parameters
agent_idstring required
Example:oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD
Unique id of the agent to get MCP tools for.
Query parameters
Example:latest_published
Optional version of the agent to use for this request. Default to latest version.
mcp_idstring required
Example:mcp-server-1
The ID of the MCP server to get tools from.
component_idstring
Example:component-123
The ID of the component if the MCP server is configured under a component.
Response
Successfully retrieved MCP tools.
Example response
[
{
"name": "search_files",
"description": "Search for files in the filesystem",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query"
}
},
"required": [
"query"
]
}
}
]Changes
- info
queryrequest parameterversionlist-of-types was widened by adding typesstring - info
for the
queryrequest parameterversion, the type was generalized fromintegerto no type
- info
- breaking
for the
pathrequest parameteragent_id, the minLength was increased from0to1
- breaking