Call a specific tool on an MCP server
/mcp/call endpoint.
| Field | Type | Description |
|---|---|---|
content | array | Array of content blocks |
isError | boolean | Whether the tool encountered an error |
{"type": "text", "text": "..."}{"type": "image", "data": "base64...", "mimeType": "image/png"}{"type": "resource", "resource": {...}}| Status Code | Description |
|---|---|
| 401 | Missing or invalid API key |
| 404 | Server not found |
| 410 | Server is no longer active |
| 429 | Rate limit exceeded |
| 502 | Tool execution failed |