Load an OpenAPI/Swagger spec
load_api_specLoad and fully dereference an OpenAPI/Swagger spec from a URL or local file to get the API title, servers, and every documented endpoint.
Instructions
Load and fully dereference an OpenAPI/Swagger spec from a URL or local file path (JSON or YAML). Call this first. Returns the API title, servers, and every documented endpoint.
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": {
"source": "<source>"
},
"name": "load_api_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | URL or local file path to the OpenAPI/Swagger document, e.g. https://petstore3.swagger.io/api/v3/openapi.json |