ui_get_state
Dump the current Android UI into a Markdown-like tree of visible and clickable elements with viewport coordinates, enabling precise targeting of on-screen fields for device interaction.
Instructions
Dump the UI and return a clean Markdown-like tree of visible and clickable elements with viewport coordinates. NOTE: WebView elements may report identical y-coordinates when scrolled; use scroll_to_element first to bring target fields into view.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | Simplified UI state |