api_request
Make 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' }).
Input Schema
TableJSON 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}) |