delete_feature
Delete a named SOLIDWORKS feature, sketch, plane, or assembly mate; dependency checks block removal unless child deletion is enabled, and the result reports what was removed.
Instructions
Delete a feature, sketch or plane by name; in an assembly also a mate by name. Refused when other features depend on it unless delete_children is true. Reports everything that was removed.
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": {
"name": "<name>"
},
"name": "delete_feature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Feature name from list_features, e.g. 'Cut-Extrude1' | |
| delete_sketch | No | Also delete the sketch the feature was made from | |
| delete_children | No | Also delete the features that depend on this one |