layer_align
Align a layer to the canvas artboard using center, left, right, top, bottom, horizontal center, or vertical center.
Instructions
Aligns an object to the canvas artboard ("center", "left", "right", "top", "bottom", "center_h", "center_v").
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": {
"layerId": "<layerId>",
"alignment": "<alignment>"
},
"name": "layer_align"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | Layer ID | |
| alignment | Yes |