Skip to main content
POST
/
api-call
Make API call via MCP
curl --request POST \
  --url https://api.agentic.scope3.com/mcp/v2/partner/api-call \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'mcp-session-id: <mcp-session-id>' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "api_call",
    "arguments": {
      "method": "GET",
      "path": "/partners",
      "query": {
        "take": 10
      }
    }
  }
}
'
{
  "jsonrpc": "2.0",
  "id": "<string>",
  "result": {
    "content": [
      {
        "type": "text",
        "text": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key or access token

Headers

mcp-session-id
string<uuid>
required

MCP session identifier from the initialize call.

Body

application/json
jsonrpc
enum<string>
required

JSON-RPC version

Available options:
2.0
id
required

Request ID

method
enum<string>
required

Method name

Available options:
tools/call
params
object
required

Response

API call executed successfully

jsonrpc
enum<string>
Available options:
2.0
id
result
object