move_node
Reparent a plan node by moving it to a new parent, ensuring no cycles are created. Optionally set the order index 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.
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. |