Delete Feature
delete_featureDeletes a feature or sketch from the active SolidWorks model along with all dependent features; use undo to restore them or suppress instead if you may need them back.
Instructions
Delete a feature or sketch from the active model, along with the features that depend on it.
Ask the user before you call it: deleting a sketch also deletes every feature
built from it (a cut, a boss), and deleting a feature deletes everything that
depends on it. Use suppress_feature instead when you might want it back. Find
names and dependents with list_features. Needs: an open part or assembly.
Changes: removes the feature and its dependents (undo can restore them).
Returns: data with deleted, removed_features (every feature that went,
dependents included), features_before and features_after; the message names
the dependents, and a warning says so whenever more than the named feature
went: tell the user.
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": {
"input_data": "<input_data>"
},
"name": "delete_feature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The feature. `name` (e.g. "Fillet1") is required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||