document_remove_extension
Remove vendor extensions (x-* properties) from nodes in OpenAPI or AsyncAPI documents. Specify session, node path, and extension name to delete unwanted x- properties.
Instructions
Remove a vendor extension (x-* property) from a node
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>",
"nodePath": "<nodePath>",
"name": "<name>"
},
"name": "document_remove_extension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Extension name to remove (must start with x-) | |
| session | Yes | Session name | |
| nodePath | Yes | Node path to the parent |