align_elements
Aligns multiple elements along a chosen axis and automatically resizes parent sections to fit their children after alignment.
Instructions
Align multiple elements along an axis. Also auto-resizes any parent sections to fit their children after alignment.
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": {
"elementIds": "<elementIds>",
"alignment": "<alignment>"
},
"name": "align_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alignment | Yes | Alignment axis: left/center/right for horizontal, top/middle/bottom for vertical | |
| elementIds | Yes | IDs of elements to align |