write_create
Create Figma frames, sections, shapes, text, components, component variants, and instances under a parent node, nesting children to build full design trees in one call.
Instructions
Create nodes under a parent (default: the current page): FRAME, SECTION, RECTANGLE, ELLIPSE, TEXT, COMPONENT, COMPONENT_SET (its children are COMPONENT variants named "Prop=Value, Other=Value"), or INSTANCE of a component (componentKey from read_styles, or componentId). Nest children to build a whole tree in one call. Needs the kit bridge plugin running in that file (read_bridge).
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": {
"file": "<file>",
"nodes": "<nodes>"
},
"name": "write_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Figma file URL or key | |
| nodes | Yes | ||
| parent | No | Parent node id |