move_cell
Moves a block under a new parent. Automatically manages the structural dependencies: deletes the old one (struct-{oldParent}-{id}) and creates the new one (struct-{newParent}-{id}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the block to move | |
| order | No | New position among the children of the new parent | |
| newParentId | Yes | ID of the new parent (null for root) | |
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. | |
| confirmRootPlacement | No | ⚠️ Required (true) ONLY if the project has locked its root placement (Settings), newParentId is null, AND the block WAS NOT ALREADY a root: without it, the detachment to the root is refused. Not applicable if the block was already a root (an update, not a creation). |