figma_create_frame
Creates a Figma frame at specified coordinates and size on the current page or inside a parent node, enabling precise layout reconstruction and nested Auto Layout structures.
Instructions
在当前页或指定父节点创建 Frame。复刻时优先嵌套 Auto Layout;按钮用 Frame 包文案并居中。
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": "figma_create_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| name | No | ||
| width | Yes | ||
| height | Yes | ||
| parentId | No |