dump_ui
Extract current Android screen UI hierarchy as flat elements with text, IDs, classes, bounds, and clickability. Filter empty containers or keep only clickable nodes for automation.
Instructions
Dump the current on-screen view hierarchy as a flat list of elements {text, resource_id, content_desc, class, clickable, enabled, bounds:{...,center_x,center_y}}.
non_empty_only drops nodes with no text/id/description (usually layout containers); clickable_only keeps only clickable nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | ||
| clickable_only | No | ||
| non_empty_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |