API Request
api_requestMake HTTP requests to API endpoints by specifying method, path, parameters, and body. Use with api_discover to explore available endpoints first.
Instructions
Make an HTTP request to any API endpoint. Use api_discover first to see available endpoints and their parameters. Supports path parameter substitution (e.g., '/api/servers/{id}' with pathParams: { 'id': '123' }).
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": "api_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | HTTP method for the request | |
| path | Yes | API path (e.g., '/api/auth/status' or '/api/servers/{id}') | |
| body | No | Request body for POST/PUT/PATCH requests (will be JSON-encoded) | |
| query | No | Query parameters as key-value pairs | |
| pathParams | No | Path parameters to substitute (e.g., { 'id': '123' } for /api/servers/{id}) |