Create Node
create_nodeAdd a node (frame, rectangle, ellipse, polygon, star, line, vector, or text) to a Figma slide with optional position, size, fills, strokes, rotation, opacity, and corner radius.
Instructions
Create a node (FRAME, RECTANGLE, ELLIPSE, POLYGON, STAR, LINE, VECTOR, TEXT) with optional properties. For tables, shapes-with-text, etc., use dedicated tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Node type | |
| props | No | Properties: x, y, width, height, fills ("#ff0000" or Paint array), strokes, rotation, opacity, cornerRadius, etc. | |
| parentId | Yes | Parent node ID (typically the slide ID) |