remove_node
Remove a node and all its descendants from a Synapse mindmap to prune outdated branches while preserving structure. The root node cannot be removed.
Instructions
Remove a node and all its descendants from a mindmap. Cannot remove the root.
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": {
"mindmapId": "<mindmapId>",
"nodeId": "<nodeId>"
},
"name": "remove_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Node ID to remove | |
| mindmapId | Yes | Mindmap ID |