adb_dump_hierarchy
Dump the Android device's current UI hierarchy as XML/text via uiautomator to inspect the visible layout. Falls back to /sdcard/window_dump.xml; may be empty if no window is focused.
Instructions
Returns the current UI hierarchy of the Android device as XML/text via uiautomator. Tries /dev/tty first and falls back to /sdcard/window_dump.xml. May return empty when no window is focused. Useful to understand the visible layout. / Devuelve la jerarquía de la UI actual del dispositivo como texto/XML vía uiautomator. Prueba /dev/tty primero y cae a /sdcard/window_dump.xml como respaldo. Puede devolver vacío cuando no hay ventana enfocada. Útil para entender el layout visible.
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": "adb_dump_hierarchy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||