align
Position selected objects precisely to left, center, right, top, or bottom edges relative to another object, page, or selection. Move multiple items as one block or snap to exact page coordinates.
Instructions
Align objects exactly. edges: 'left' | 'hcenter' | 'right' | 'top' | 'vcenter' | 'bottom', or one of each ('left top'). to: an object id to align to (it stays put), or first | last | biggest | smallest | page | drawing | selection. to_mm: align that edge to a page coordinate instead. as_group moves the ids as one block. expected_revision: refuse if the document changed since.
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": {
"ids": "<ids>",
"edges": "<edges>"
},
"name": "align"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | first | |
| ids | Yes | ||
| show | No | ||
| edges | Yes | ||
| to_mm | No | ||
| as_group | No | ||
| expected_revision | No |