arrange_design_layers
Align and distribute selected design layers with deterministic alignment, distribution, text stacking, or vertical rhythm while respecting canvas safe margins. Returns fresh QA for verification.
Instructions
Arrange selected page layers with deterministic alignment, distribution, measured text stacking, or semantic vertical rhythm. The document canvas safe margin is always respected and the response includes fresh QA.
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": {
"document": "<document>",
"pageId": "<pageId>",
"layerIds": "<layerIds>",
"operation": "<operation>"
},
"name": "arrange_design_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Page containing all selected layer ids | |
| document | Yes | Design document containing the layers to arrange | |
| layerIds | Yes | Layer ids in the intended layout order | |
| operation | Yes | Deterministic layout operation to apply |