swagger_import
Import API routes and schemas from a local Swagger/OpenAPI file or remote URL and generate a structured Markdown API Reference.
Instructions
Import API routes and schemas from a local Swagger/OpenAPI file or remote URL, outputting a structured Markdown API Reference.
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": "swagger_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL to download swagger.json or openapi.json/yaml | |
| filePath | No | Absolute path to local JSON/YAML Swagger specification | |
| confirmFileAccess | No | Must be true when filePath is used |