export_openapi
Generate an OpenAPI 3.0 specification from all requests in a workspace and return it as a JSON string for saving to a file.
Instructions
Generate an OpenAPI 3.0 spec from all requests in a workspace. Returns the spec as a JSON string you can save to a file.
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": {
"workspace_id": "<workspace_id>"
},
"name": "export_openapi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_url | No | Override base URL in the spec (e.g. https://api.example.com) | |
| workspace_id | Yes |