create_rectangle
Create rectangles in Figma with custom dimensions, fill colors, and corner radius. Position shapes on the current page or inside parent nodes using specific X/Y coordinates.
Instructions
Create a new rectangle on the current page or inside a parent node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cornerRadius | No | Corner radius in pixels | |
| fillColor | No | Fill color as hex e.g. #FF5733 | |
| height | No | Height in pixels (default 100) | |
| name | No | Rectangle name | |
| parentId | No | Parent node ID in colon format. Defaults to current page. | |
| width | No | Width in pixels (default 100) | |
| x | No | X position (default 0) | |
| y | No | Y position (default 0) |