document_update_extension
Update a vendor extension value in an OpenAPI or AsyncAPI document by specifying the node path, extension name, and new value.
Instructions
Update the value of an existing vendor extension
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_update_extension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Extension name (must start with x-) | |
| value | Yes | JSON string with the new extension value | |
| session | Yes | Session name | |
| nodePath | Yes | Node path to the parent node |