group_node
Group or ungroup Figma nodes based on specified parameters using a boolean flag. Manage multiple nodes efficiently with optional naming support for organized design workflows.
Instructions
Groups or ungroups nodes in Figma, depending on the 'group' flag.
Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the result.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
group | Yes | If true, group nodes; if false, ungroup a group node. | |
name | No | Optional. Name for the group. If provided, must be a non-empty string up to 100 characters. | |
nodeId | No | The unique Figma group node ID to ungroup. Must be a string in the format '123:456' or a complex instance ID like 'I422:10713;1082:2236'. | |
nodeIds | No | Array of node IDs. Must contain at least 2 and at most 100 items. |