Inspect Phone Link UI Tree
phonelink_inspect_uiDump the Phone Link UI automation tree as JSON to discover element names, automation IDs, and control types when other tools cannot find expected UI elements.
Instructions
Debug tool: dumps the Phone Link UI automation tree as JSON.
Use this to discover UI element names, automation IDs, control types, and bounding rectangles. Helpful for troubleshooting when other tools can't find expected elements.
Args:
max_depth (number): Maximum tree depth (1-25, default: 10). Higher = more elements but slower.
filter_control_type (string, optional): Only return elements of this type (e.g. "Text", "Button", "ListItem").
Returns: { "element_count": number, "window_name": string, "elements": [{ "Name": string, "ControlType": string, "AutomationId": string, ... }] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | Maximum UI tree depth to traverse (default: 10). | |
| filter_control_type | No | Only return elements of this control type (e.g. 'Text', 'Button', 'ListItem'). Leave empty for all. |