Create a frame
figma_create_frameCreate an empty frame on the current page or inside a named parent, and receive its node ID to fill in following steps.
Instructions
Creates an empty frame, on the current page or inside a parent you name. Returns the new node’s id so the next call can fill it.
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": "figma_create_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| fill | No | Hex colour for a solid background. Omit to keep Figma’s default white. | |
| name | No | Layer name. Default "Frame". | |
| width | No | Default 100. | |
| height | No | Default 100. | |
| parentId | No | Put it inside this node. Default: the current page. |