computer.get_ui_tree
Retrieves the accessibility tree of the active or specified window as nested roles, names, and bounding boxes, enabling UI inspection and automation.
Instructions
Get the accessibility tree of the active (or a named) window as a nested structure of roles, names and bounding boxes. Uses Windows UI Automation or Linux AT-SPI; returns an explanatory error when no accessibility backend is available.
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": "computer.get_ui_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | ||
| max_depth | No |