align_shapes
Align multiple shapes relative to each other or to a design's selection bounds. Specify alignment type—left, center, right, top, middle, or bottom—to position shapes precisely.
Instructions
Align multiple shapes relative to each other or to a selection bounds
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": {
"fileId": "<fileId>",
"pageId": "<pageId>",
"shapeIds": "<shapeIds>",
"alignment": "<alignment>"
},
"name": "align_shapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File ID | |
| pageId | Yes | Page ID | |
| shapeIds | Yes | Array of shape IDs to align | |
| alignment | Yes | Alignment type |