create_rectangle
Create a rectangle shape in Figma by specifying width, height, fill color, corner radius, opacity, and parent node for accurate placement.
Instructions
Create a rectangle shape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | Fill color hex | |
| name | No | Name (default: Rectangle) | |
| width | Yes | Width | |
| height | Yes | Height | |
| opacity | No | Opacity 0-1 | |
| parentId | No | Parent node ID | |
| cornerRadius | No | Corner radius |