xae_tree_set_values
Set XML element text values in a TwinCAT tree item using relative XPath assignments, e.g. TaskDef/CycleTime to 10000 (100 ns units).
Instructions
Set element texts in a tree item's XML by relative XPath, e.g. {'TaskDef/CycleTime': '10000'} (unit 100 ns).
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": {
"path": "<path>",
"assignments": "<assignments>"
},
"name": "xae_tree_set_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| assignments | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||