rename_feature
Rename a feature in SolidWorks and verify the new name to prevent silent failures from duplicate names.
Instructions
Rename a feature on the feature tree.
SolidWorks silently refuses a rename onto a name another feature already uses, so the new name is read back and a mismatch is reported as an error rather than a quiet success. Renaming a feature to its current name is a no-op success.
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": "rename_feature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The feature and its new name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||