dump_ui
Exports the current UI hierarchy as an XML file, listing visible UI elements with their text, bounds, class, and clickable state to identify targets before tapping.
Instructions
Dump the current UI hierarchy (XML). Shows all visible UI elements with their text, content-desc, bounds (coordinates), class name, and clickable state.
Use this to find the right element/coordinates before tapping.
Args: output_path: Where to save the XML dump
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | /data/data/com.termux/files/home/ui_dump.xml |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |