document_transform
Convert OpenAPI documents between spec versions, such as 2.0 to 3.0 or 3.0 to 3.1, to maintain compatibility.
Instructions
Convert an OpenAPI document between spec versions (e.g. OpenAPI 2.0 -> 3.0, 3.0 -> 3.1)
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": {
"session": "<session>",
"targetType": "<targetType>"
},
"name": "document_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session name | |
| targetType | Yes | Target document type (e.g. openapi3) |