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