Find edges created by a feature
onshape_find_edges_by_featureReturns deterministic edge IDs created by a specified feature, so you can reliably reference those edges in downstream CAD operations.
Instructions
Deterministic ids of the edges a given feature created, evaluated by Onshape.
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>",
"feature": "<feature>"
},
"name": "onshape_find_edges_by_feature"
}
}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. | |
| feature | Yes | Feature id whose edges you want. |