solidworks_modify_feature
Edit a feature's definition by accessing its selection and modifying its properties. Discover exact property names via the feature-data interface and update them programmatically.
Instructions
Edit a feature's definition with AccessSelections/ModifyDefinition. Discover exact properties in its feature-data interface. Use generic API or scripts for indexed/method-based definitions.
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": {
"feature": "<feature>",
"properties": "<properties>"
},
"name": "solidworks_modify_feature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feature | Yes | ||
| document | No | ||
| component | No | ||
| properties | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||