flatten_node
Reduce a Figma node to a single vector path, simplifying complex shapes for cleaner output and easier editing.
Instructions
Flatten a node into a single vector.
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": {
"nodeId": "<nodeId>"
},
"name": "flatten_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Node to flatten |