boolean_operation
Combine multiple Figma shapes using union, subtract, intersect, or exclude to create merged, cut-out, or overlapping geometry from selected nodes.
Instructions
Combine shapes with union, subtract, intersect or exclude
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>",
"operation": "<operation>"
},
"name": "boolean_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Layer name | |
| nodeIds | Yes | Shapes; subtract removes the rest from the first | |
| parentId | No | Where the result goes (default: the first node's parent) | |
| operation | Yes |