create_frame
Adds a frame to a Figma page or parent container, with optional auto layout, dimensions, positioning, fill, and corner radius for grouping and laying out design content.
Instructions
Create a frame (optionally with auto layout) on the page or inside a parent.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| fill | No | Hex color; omit for white, 'none' for no fill | |
| name | No | ||
| width | No | ||
| height | No | ||
| parentId | No | ||
| autoLayout | No | ||
| cornerRadius | No |