Boolean Op
boolean_opCombine, subtract, or intersect two CAD objects by handle for union, cut, and common operations, returning volume metrics and warnings for degenerate cuts.
Instructions
Boolean operation on two objects by handle.
op: 'cut' (base minus tool), 'fuse' (union), or 'common' (intersection). strict: raise instead of warning on a degenerate cut.
Returns {handle, volume, removed_volume (base - result mm3; negative on a
fuse), volume_ratio (result/base, None if base empty)}, plus warnings ONLY
on a degenerate cut ("warnings" in result is the test): annihilation (result
~0 — later features operate on nothing) or miss (result == base — nothing
removed). Warn-don't-fail by default; strict=True makes both errors.
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": {
"op": "<op>",
"base": "<base>",
"tool": "<tool>"
},
"name": "boolean_op"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| base | Yes | ||
| tool | Yes | ||
| strict | No | ||
| workspace | No | Run this call in this named workspace |