List Discovered Tools
GET/v1/agents/:agent_id/mcp/tools
List all discovered tools for an active MCP connection.
Returns the tools that were discovered during the last successful connection to the MCP server.
Requires: Active MCP connection
Example Response:
{
"agent_id": "abc123-...",
"tools": [
{
"name": "weather_lookup",
"description": "Get current weather for a location",
"inputSchema": {
"type": "object",
"properties": {
"location": {"type": "string", "description": "City name"}
},
"required": ["location"]
}
}
],
"total": 1
}
Request
Responses
- 200
- 422
Successful Response
Validation Error