nodes.updateFlowchart
Modify existing flowcharts by adding, updating, or removing nodes and edges using node IDs from previous creation.
Instructions
Update an existing flowchart. Pass nodeIds from createFlowchart response to modify nodes/edges.
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": {
"nodeIds": "<nodeIds>"
},
"name": "nodes.updateFlowchart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeIds | Yes | Map of logical IDs to actual node IDs (from createFlowchart response) | |
| add | No | { nodes: [{id, name, shape?, color?}], edges: [{from, to, label?}] } - new nodes/edges to add | |
| update | No | { "actualNodeId": { displayName?, color?, shape? } } - update existing nodes by actual ID | |
| remove | No | { nodeIds?: string[], edgeIds?: string[] } - actual IDs to remove |