create_rectangle
Add a rectangle to the Figma canvas with optional size, position, and parent container. Returns details about the created node.
Instructions
Create a rectangle, optionally sized/positioned and appended to a parent (else the current page). Returns { ok, nodeId, name, type }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | ||
| width | No | ||
| height | No | ||
| parentId | No | Container node id; omit for current page |