create_frame
Create a new frame in Figma by defining its x, y coordinates, width, height, and optional name, fill color, and stroke.
Instructions
Create a new frame in Figma
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position (local coordinates, relative to parent) | |
| y | Yes | Y position (local coordinates, relative to parent) | |
| width | Yes | Width of the frame | |
| height | Yes | Height of the frame | |
| name | No | Optional name for the frame | |
| parentId | No | Optional parent node ID to append the frame to | |
| fillColor | No | Fill color in RGBA format | |
| strokeColor | No | Stroke color in RGBA format | |
| strokeWeight | No | Stroke weight |