move_node
Move a plan node to a new parent within the same plan, ensuring no cycles are created. Optionally specify the position among siblings.
Instructions
Reparent a node within the same plan. Cycle-safe (server rejects moves that would create a tree cycle). Optional position sets the order_index among siblings.
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": {
"node_id": "<node_id>",
"new_parent_id": "<new_parent_id>"
},
"name": "move_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | ||
| new_parent_id | Yes | ||
| plan_id | No | Auto-resolved if omitted. | |
| position | No | Optional order_index among siblings. |