Dump UI hierarchy
ui_dumpDump the on-screen view hierarchy via uiautomator to inspect UI nodes with text, resource IDs, content descriptions, and tap-ready center coordinates.
Instructions
Dump the on-screen view hierarchy via uiautomator, as a compact list of nodes with text, resource-id, content-desc and tap-ready center coordinates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ui_dump"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return the raw XML instead | |
| serial | No | Device serial from devices_list. Optional when exactly one device is online. | |
| includeAll | No | Include layout-only nodes without text/id/clickability |