arrange_cells
Arranges several blocks according to a layout (row, column, grid) from a starting position with configurable spacing. For LOCAL repositionings of a few blocks only; auto_layout_canvas (dedicated engines per kind) tidies the whole canvas up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout | Yes | Arrangement type: row (horizontal), column (vertical), grid | |
| startX | Yes | Starting X position | |
| startY | Yes | Starting Y position | |
| cellIds | Yes | IDs of the blocks to arrange | |
| spacing | No | Spacing between the blocks in pixels (default: 120) | |
| gridColumns | No | Number of columns for layout='grid' (default: 3) | |
| 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. |