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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cellIds": "<cellIds>",
"layout": "<layout>",
"startX": "<startX>",
"startY": "<startY>"
},
"name": "arrange_cells"
}
}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 THIS call targets (overrides the session project). |