create_polygon
Create a regular polygon in Figma by setting the number of sides and diameter, with optional fill, name, and parent node.
Instructions
Create a regular polygon.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | Fill color | |
| name | No | Name | |
| size | Yes | Diameter | |
| sides | Yes | Number of sides (3=triangle, 5=pentagon, 6=hexagon, etc.) | |
| parentId | No | Parent node ID |