create_frame
Generate and position frames in Figma with customizable dimensions, fill and stroke colors, and optional parent node placement for structured design workflows.
Instructions
Create a new frame in Figma
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "create_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fillColor | No | Fill color in RGBA format | |
| height | Yes | Height of the frame | |
| name | No | Optional name for the frame | |
| parentId | No | Optional parent node ID to append the frame to | |
| strokeColor | No | Stroke color in RGBA format | |
| strokeWeight | No | Stroke weight | |
| width | Yes | Width of the frame | |
| x | Yes | X position | |
| y | Yes | Y position |