Export Spec
export_specExport an API specification as OpenAPI YAML, JSON, or Postman Collection. Use this to get the finished document out; to check it against the standard first use validate_spec. Requires project context.
Instructions
Export an API specification as OpenAPI YAML, JSON, or Postman Collection. Use this to get the finished document out; to check it against the standard first use validate_spec. Requires project context.
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": {
"specId": "<specId>"
},
"name": "export_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Export format: 'yaml' (default), 'json', or 'postman' | yaml |
| specId | Yes | Public ID (GUID) of the API specification to export |