Move / Reparent / Reorder Node
move_entityReparent a node under a new parent, promote to hierarchy top, or reorder relative to sibling. Supports objects, takes, and render_data.
Instructions
Reparent a node under a new parent, promote it to the top of its hierarchy, or reorder it relative to a sibling. Works on objects, takes, and render_data — siblings/parents must share the moved node's kind. Exactly one destination field must be provided (parent, before, after, or to_root:true). For takes, to_root:true reparents under Main; the Main take itself cannot be moved. Returns the node's new canonical handle so follow-up edits remain stable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Insert immediately after this sibling. | |
| before | No | Insert immediately before this sibling. | |
| handle | Yes | Node to move (object / take / render_data). | |
| parent | No | Insert as last child of this parent. | |
| to_root | No | Promote to the top of the hierarchy (objects → doc root, takes → under Main, render_data → top level). |