cua_ui_tree
Reads the native Accessibility or UI Automation tree of the frontmost or named app, returning numbered element refs and exact (cx, cy) coordinates for UI automation.
Instructions
Read the native Accessibility / UI Automation tree (AXUIElement on macOS, UIAutomation on Windows) of the frontmost or named app with numbered element ref IDs and exact (cx, cy).
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": "cua_ui_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| app_name | No | ||
| max_depth | No | ||
| max_nodes | No | ||
| interactive_only | No |