boolean_operation
Combine multiple Figma nodes using boolean operations: union, subtract, intersect, or exclude. All nodes must share the same parent; order matters for subtract.
Instructions
Perform a boolean operation (union, subtract, intersect, exclude) on two or more nodes. All nodes must share the same parent.
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 |
|---|---|---|---|
| nodeIds | Yes | Array of node IDs to combine (minimum 2). Order matters for SUBTRACT. | |
| operation | Yes | Boolean operation type | |
| name | No | Optional name for the resulting node |