ungroup_node
Ungroups selected groups or unwraps frames/sections, moving children to the parent at the same absolute position and z-order and deleting the container; frame fills, strokes, and effects are lost.
Instructions
Ungroup groups, or unwrap frames/sections: children move to the container's parent at the same absolute position and z-order, and the container is deleted (a frame's own fill/stroke/effects are lost). Returns per node {id, children:[new child ids], parentId}.
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": {
"nodeIds": "<nodeIds>"
},
"name": "ungroup_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| nodeIds | Yes | Figma node ids, e.g. ['12:34'] |