Call a real API endpoint
call_endpointSend a live HTTP request to any documented API endpoint and receive the actual status, headers, and body. Ideal for checking real responses before validating schemas.
Instructions
Make an actual HTTP call to a documented endpoint and return the real status, headers, and body. Does not validate the response — use test_endpoint if you also want schema validation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"method": "<method>",
"path": "<path>"
},
"name": "call_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | Auth preset applied to the request. Examples: {"type":"bearer","token":"..."}, {"type":"apiKey","in":"header","name":"X-API-Key","value":"..."}, {"type":"basic","username":"...","password":"..."} | |
| body | No | ||
| path | Yes | The documented path template, e.g. /pets/{id} | |
| method | Yes | HTTP method, e.g. GET, POST | |
| baseUrl | No | Override the spec's default server URL | |
| headers | No | ||
| timeoutMs | No | Abort the request after this many milliseconds. | |
| pathParams | No | ||
| queryParams | No |