ui_collapse
Collapse UI elements such as TreeView nodes or ComboBox dropdowns using ExpandCollapsePattern. Returns success status, even if already collapsed.
Instructions
Collapse a TreeView node, ComboBox dropdown, or other collapsible element.
Uses ExpandCollapsePattern. Collapsing an already-collapsed element is safe and returns {collapsed: true, was_already: true}.
Args: automation_id: AutomationId of the element to collapse.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| automation_id | Yes |