ui_expand
Expand a UI element like a TreeView node or ComboBox dropdown by its AutomationId. Safely handles already-expanded elements and returns the expansion status.
Instructions
Expand a TreeView node, ComboBox dropdown, or other collapsible element.
Uses ExpandCollapsePattern. Expanding an already-expanded element is safe and returns {expanded: true, was_already: true}.
Args: automation_id: AutomationId of the element to expand.
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": {
"automation_id": "<automation_id>"
},
"name": "ui_expand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| automation_id | Yes |