layout_operation
Align, distribute, center, stack, or apply margins to InDesign objects. Define target, axis, alignment, and spacing to adjust layouts precisely.
Instructions
Layout helpers: align | distribute | center | stack | applyMargins. Thin wrapper — prefer execute_batch when combining with other ops. Requires scan_document; role targets need analyze_page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| axis | No | ||
| align | No | ||
| gapPt | No | ||
| target | Yes | Usually {selection:true} or multiple items via role; uuid for a single item | |
| startPt | No | ||
| marginPt | No | ||
| timeoutSec | No |