feature_tree_redefine
Redefine an existing Creo feature by supplying a complete edited element tree to change settings such as depth type or references; sketches cannot be replaced.
Instructions
Redefine an existing feature with a full new element tree (e.g. change depth type, references). Get the current tree with feature_tree_dump, edit it, pass it back. Sketches cannot be replaced.
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>"
},
"name": "feature_tree_redefine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | ||
| file | No | ||
| tree | No | ||
| feature | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||