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.
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. |