xae_tree_create_child
Creates a child item in a TwinCAT XAE automation tree by parent path, name, and subtype; for PLC POUs, use the dedicated POU creation tool instead.
Instructions
Generic CreateChild (tree item types/subtypes per Infosys). For PLC objects prefer xae_pou_create.
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>",
"subtype": "<subtype>"
},
"name": "xae_tree_create_child"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| info | No | ||
| name | Yes | ||
| before | No | ||
| subtype | Yes | ||
| parent_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||