Mirror geometry
onshape_mirrorMirror parts, bodies, or faces across a specified plane in Onshape, using entity and plane queries to create the mirrored feature in the document.
Instructions
Mirror parts, bodies or faces across a plane.
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": {
"doc": "<doc>",
"ws": "<ws>",
"elem": "<elem>",
"entities": "<entities>"
},
"name": "onshape_mirror"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ws | Yes | Workspace id — the <ws> segment of the document URL. | |
| doc | Yes | Document id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>. | |
| elem | Yes | Element id (tab) — the <elem> segment of the document URL. | |
| name | No | Feature name shown in the tree (default "Mirror"). | |
| type | No | What kind of thing is being mirrored (default PART). | |
| entities | Yes | FeatureScript query selecting what to mirror. | |
| validate | No | Re-read the feature list afterwards and fail if the feature regenerated with an error (default true). | |
| plane_ids | No | Deterministic id of the mirror plane, e.g. JCC for Front. | |
| plane_query | No | FeatureScript query selecting the mirror plane. |