fetch_spec
Retrieve the OpenAPI/Swagger JSON specification to discover API endpoints, HTTP methods, and request schemas for making API calls.
Instructions
Fetches the OpenAPI/Swagger JSON spec for this API. Use this to discover endpoint paths, HTTP methods, and request body schemas before calling request().
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fetch_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Override the spec URL. If omitted, uses API_SWAGGER_URL env var. |