adb_dump_ui_tree
Extract the UI hierarchy tree of an Android device for inspecting app layouts and automating UI analysis.
Instructions
Dump the UI hierarchy tree from the device.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serial": "<serial>"
},
"name": "adb_dump_ui_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes |