create_rectangle
Creates a rectangle shape on an InDesign page with specified position, dimensions, fill color, stroke, and corner radius.
Instructions
Create a rectangle shape
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position in mm | |
| y | Yes | Y position in mm | |
| width | Yes | Width in mm | |
| height | Yes | Height in mm | |
| fillColor | No | Fill color (RGB hex or swatch name) | |
| pageIndex | No | Page index | |
| strokeColor | No | Stroke color | |
| strokeWidth | No | Stroke width in points | |
| cornerRadius | No | Corner radius in mm |