desktop_collapse
Collapse a disclosure triangle or tree item by its accessibility ref to hide nested content and reduce visible UI in desktop automation.
Instructions
agent-desktop collapse: Collapse a disclosure triangle or tree item
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": {
"ref_id": "<ref_id>"
},
"name": "desktop_collapse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref_id | Yes | Qualified ref from snapshot (@<snapshot_id>:eN) | |
| timeout_ms | No | Maximum ref-resolution and transient-actionability wait in milliseconds; terminal failures return immediately |