onshape_update_feature
Replace an existing Onshape feature definition using updated BTMFeature JSON and its feature ID to modify CAD model geometry or parameters.
Instructions
Replace an existing feature's definition (same BTMFeature JSON as onshape_add_feature, including featureId).
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": {
"did": "<did>",
"wid": "<wid>",
"eid": "<eid>",
"feature_id": "<feature_id>",
"feature": "<feature>"
},
"name": "onshape_update_feature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| did | Yes | ||
| eid | Yes | ||
| wid | Yes | ||
| feature | Yes | ||
| feature_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |