get_ui_tree
Retrieve the UI element hierarchy of the current Android screen to identify interactive elements with bounds, text, resource IDs, and state for automation tasks.
Instructions
Get the UI element hierarchy of the current screen. Returns interactive elements with their bounds, text, resource IDs, and state. Use this to find elements before tapping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No | Device ID (optional if only one device) |