Rename Feature
rename_featureRename a feature in the active part or assembly feature tree to give it a meaningful name. Rejects names already in use and keeps the current name if unchanged.
Instructions
Rename a feature in the active model's feature tree.
Use it to give features meaningful names (e.g. "MountingHoles"). The new name is
read back: a name another feature already uses is an error. Renaming to the
current name succeeds with no change. Needs: an open part or assembly. Changes:
the feature's name. Returns: data with old_name, new_name, renamed and,
when unchanged, reason.
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 rename. `old_name` and `new_name` are required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||