validate_openapi
Validates OpenAPI 2/3 specifications from files, URLs, or inline content to ensure API documentation correctness before proceeding with MCP server development.
Instructions
Step 1 of 6. Validates OpenAPI 2/3 specs (file path, URL, or inline JSON/YAML). URLs: any public URL that returns the spec. Fetches and reads the response body (no manual download). Works with raw file URLs (e.g. raw.githubusercontent.com/.../ProjectSight-v1.json), Google Drive view or direct links, and any other public URL; both read and download-style URLs work. Returns validation result, analysis (summary + small sample), and scaffolding (description + sample). On success: valid=True, openapi_version, analysis, scaffolding. Completes workflow step 1. On failure: valid=False, validation_errors (list of message, path, context). You must present results to the user and get confirmation before calling step 2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| openapi_input | Yes | ||
| input_type | No |