desktop_ui
Inspect a window’s UI Automation tree to map controls, filter nodes, compare snapshots, and read focused or selected text for desktop automation.
Instructions
Inspect a window's UI Automation accessibility tree (with compact [s#.#] control refs for desktop_ui_action, snapshot delta diffing, pattern filtering, and optional focused/selected/document text observation).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "desktop_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | No | ||
| prune | No | ||
| filter | No | ||
| compact | No | ||
| delta_of | No | Previous snapshot id to compute only added/moved/altered/removed changes. | |
| patterns | No | ||
| max_depth | No | ||
| max_nodes | No | ||
| skip_empty | No | ||
| max_visited | No | ||
| text_budget | No | ||
| text_target | No |