create_polygon
Creates a polygon on the active page at specified position and size, with adjustable sides, fill, and stroke colors.
Instructions
Create a polygon on the active page
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 | |
| sides | No | Number of sides | |
| fillColor | No | Fill color (RGB hex or swatch name) | |
| strokeColor | No | Stroke color | |
| strokeWidth | No | Stroke width in points |