xae_tree_delete
Deletes a TwinCAT XAE tree item such as a POU, box, or task using its parent path and name. Requires confirmation because the operation is destructive.
Instructions
Delete a tree item (POU, box, task …). Destructive-class; the confirmation names the item: tc_request_confirmation(action='xae_tree_delete', target='<parent_path>^').
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": {
"parent_path": "<parent_path>",
"name": "<name>"
},
"name": "xae_tree_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| parent_path | Yes | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||