cad_edit_feature
Edit parameters of existing CAD features by specifying parameter ID and new expression or value. Supports retargeting dimensions to variables without rebuilding.
Instructions
Edit one stored parameter of an existing feature. Give parameterId (e.g. 'depth','radius','length') plus expression (number/#var for a quantity) OR value (enum/bool/string). Retarget a dimension to a #variable without rebuilding.
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": {
"documentId": "<documentId>",
"workspaceId": "<workspaceId>",
"elementId": "<elementId>",
"featureId": "<featureId>",
"parameterId": "<parameterId>"
},
"name": "cad_edit_feature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | ||
| workspaceId | Yes | ||
| elementId | Yes | ||
| featureId | Yes | ||
| parameterId | Yes | ||
| expression | No | ||
| value | No |