call_endpoint
Call an API endpoint using its OpenAPI specification, with support for path, query, headers, body, and automatic authentication.
Instructions
Call an endpoint discovered from the OpenAPI document, optionally applying auth automatically and sending query, path, headers, and payload data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Docs page URL or direct OpenAPI JSON/YAML URL | |
| method | Yes | HTTP method | |
| path | Yes | Exact OpenAPI path, e.g. /users/{id} | |
| pathParams | No | Path template values, e.g. {"id":"42"} | |
| query | No | Query string parameters as an object or raw string, e.g. {"page":2} or "page=2&sort=name" | |
| headers | No | Additional request headers | |
| body | No | Request payload for JSON, form, or multipart requests | |
| rawBody | No | Raw string body to send as-is | |
| contentType | No | Override request content-type | |
| timeoutMs | No | Request timeout in milliseconds | |
| auth | No | Authentication configuration |