auto_layout_grid
Automatically rearrange selected artboards into a multi-column grid with consistent gutters, specifying start position, column count, and spacing.
Instructions
Automatically rearranges and neatly aligns a list of artboards into a clean multi-column grid matrix with consistent gutters.
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": {
"artboardIds": "<artboardIds>"
},
"name": "auto_layout_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | No | Optional target file ID. | |
| startX | No | Starting world X position (default: 0). | |
| startY | No | Starting world Y position (default: 0). | |
| columns | No | Number of columns (default: 3). | |
| gutterX | No | Horizontal gutter in pixels (default: 80). | |
| gutterY | No | Vertical gutter in pixels (default: 80). | |
| artboardIds | Yes | Array of artboard IDs to arrange. |