elements_align
Align SVG elements left, center, right, top, middle, or bottom to a selection, page, coordinate, or another element using Inkscape visual bounds. Rejects selected ancestors and descendants.
Instructions
Aligns SVG elements to a selection, page, coordinate or another element using Inkscape visual bounds; selected ancestors and descendants are rejected.
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": {
"alignment": "<alignment>",
"expectedRevision": "<expectedRevision>",
"ids": "<ids>",
"path": "<path>",
"workspaceId": "<workspaceId>"
},
"name": "elements_align"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| path | Yes | ||
| anchor | No | ||
| alignment | Yes | ||
| workspaceId | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| moves | Yes | ||
| revision | Yes | ||
| alignment | Yes | ||
| backupCreated | Yes |