Edit node
edit_nodeModify a graph node in a YAML/JSON file: change label, position, style, properties, or ID; unspecified fields stay unchanged and connected edges update on rename.
Instructions
Edit a node. Only the given fields change. setProperties adds/overwrites keys, removeProperties deletes keys, properties replaces the whole list. Renaming (newId) updates connected edges. style "" clears the style.
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": {
"id": "<id>"
},
"name": "edit_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| label | No | ||
| newId | No | ||
| style | No | ||
| position | No | ||
| properties | No | ||
| setProperties | No | ||
| removeProperties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Current graph file; null when the graph is in memory only | |
| node | Yes |