Make REST API calls to any Partner API endpoint through MCP.
method: HTTP method (GET, POST, PUT, DELETE)path: API path (e.g., “/partners”, “/campaigns/”)body: Request body for POST/PUT requests (optional)query: Query parameters (optional){
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "api_call",
"arguments": {
"method": "GET",
"path": "/partners",
"query": { "take": 10 }
}
}
}
{
"jsonrpc": "2.0",
"id": 2,
"result": {
"content": [
{
"type": "text",
"text": "{ \"partners\": [...], \"total\": 5 }"
}
]
}
}
API key or access token
MCP session identifier from the initialize call.