create_frame
Creates a new frame (artboard or container) on the Figma canvas by specifying position, dimensions, fill color, name, and optional parent node. Use it to set up screen layouts or organize design elements.
Instructions
Create a new frame (container or artboard) on the Figma canvas
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate on canvas | |
| y | No | Y coordinate on canvas | |
| fill | No | Hex color fill, e.g. '#FFFFFF' or '#F3F4F6' | |
| name | No | Name of the frame (e.g., 'Home Screen', 'Card') | |
| width | No | Width in pixels (defaults to 375 for mobile screens) | |
| height | No | Height in pixels (defaults to 812 for mobile screens) | |
| parentId | No | Parent Frame node ID, or omit for canvas root | |
| cornerRadius | No | Corner radius in pixels |