call_endpoint
Execute API calls to the Swagger Petstore by specifying operation IDs and parameters, enabling interaction with endpoints discovered through list_endpoints.
Instructions
Call an endpoint in the Swagger Petstore - OpenAPI 3.0. Use list_endpoints first to discover available operationIds and their required parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operationId | Yes | The operationId from list_endpoints, e.g. 'getPetById' or 'createUser' | |
| parameters | No | Path, query, and header parameters as key-value pairs | |
| body | No | Request body for POST/PUT/PATCH requests (object or string) |