Flatten Node
node_flattenFlatten a Figma node and its children into a single vector. This is a lossy operation that removes the original structure.
Instructions
Flatten a node and its children into a single vector. Lossy — original structure is not recoverable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to flatten | |
| nodeName | Yes | Name of the node to verify against |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the flattened node | |
| name | Yes | Name of the flattened node | |
| type | Yes | Type of the flattened node (usually VECTOR) |