export_openapi
Export a project’s API specification as OpenAPI JSON or YAML, choosing the OpenAPI version and exporting the full spec or a filtered subset by endpoints, folders, or tags.
Instructions
Export the project API spec in OpenAPI format. Returns the full spec or a filtered subset.
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 |
|---|---|---|---|
| scopeType | No | Scope of export (default: ALL) | |
| oasVersion | No | OpenAPI version (default: 3.1) | |
| exportFormat | No | Output format (default: JSON) | |
| selectedTags | No | Tags to export (when scopeType is SELECTED_TAGS) | |
| selectedFolderIds | No | Folder IDs to export (when scopeType is SELECTED_FOLDERS) | |
| selectedEndpointIds | No | Endpoint IDs to export (when scopeType is SELECTED_ENDPOINTS) |