export_openapi
Exports API endpoints from a canvas as an OpenAPI 3.0/3.1 specification, scanning API-related elements to generate paths, methods, schemas, and security requirements for documentation.
Instructions
Export API endpoints from your canvas as an OpenAPI specification. Scans the canvas for API-related semantic elements (API endpoints, gateways, etc.) and generates a complete OpenAPI 3.0/3.1 specification with paths, methods, schemas, and security requirements. Perfect for generating API documentation from architecture diagrams.
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": "export_openapi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format (default: json) | json |
| version | No | OpenAPI version (default: 3.0) | 3.0 |
| include_examples | No | Include example requests/responses if defined (default: true) |