document_set_node
Update or replace nodes in OpenAPI and AsyncAPI documents by specifying a path and providing a JSON value, applying changes in-place.
Instructions
Set or replace any node at a given node path using in-place update
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>",
"value": "<value>"
},
"name": "document_set_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | JSON string with the new node value | |
| session | Yes | Session name | |
| nodePath | Yes | Node path to set (e.g. /info, /paths[/pets]/get) |