parse_openapi
Parse and validate OpenAPI/Swagger specs from JSON/YAML or URL to extract endpoints, methods, and schemas for API development.
Instructions
Parse and validate an OpenAPI/Swagger specification from JSON/YAML string or URL. Returns detailed information about the API including endpoints, methods, and schemas.
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": {
"input": "<input>"
},
"name": "parse_openapi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | OpenAPI spec as JSON/YAML string, or a URL to fetch the spec from | |
| isUrl | No | Whether the input is a URL (default: false) |