batch_create
Creates a nested UI tree of frames, text, shapes, SVGs, components, and instances in one call to build complex Figma layouts without multiple requests.
Instructions
Create a nested UI tree of frames, texts, shapes, SVGs, components, and instances in a single call.
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": {
"nodes": "<nodes>"
},
"name": "batch_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | Array of node specs ({ type: "FRAME"|"TEXT"|"RECTANGLE"|"ELLIPSE"|"SVG"|"COMPONENT"|"INSTANCE", children?: [...], ...props }) | |
| channel | No | Optional Figma document channel, fileKey, or documentName when multiple Figma files are open | |
| parentId | No | Optional container node ID (defaults to current page) |