document_add_extension
Add vendor extensions (x-* properties) to any node in an OpenAPI or AsyncAPI document.
Instructions
Add a vendor extension (x-* property) to any node in the document
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>",
"value": "<value>"
},
"name": "document_add_extension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Extension name (must start with x-) | |
| value | Yes | JSON string with the extension value | |
| session | Yes | Session name | |
| nodePath | Yes | Node path to the parent (e.g. /info, /paths[/pets]/get) |