create_rectangle
Add a rectangle to a Figma design by specifying its position, width, and height. Optionally set a name and parent node to place it in the canvas.
Instructions
Create a new rectangle in Figma
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position | |
| y | Yes | Y position | |
| name | No | Optional name for the rectangle | |
| width | Yes | Width of the rectangle | |
| height | Yes | Height of the rectangle | |
| parentId | No | Optional parent node ID to append the rectangle to |