ui_dump
Retrieve the Android UI hierarchy as a compact list of clickable or labeled elements with bounds and center coordinates to locate on-screen targets for automation.
Instructions
Dump the UI hierarchy as a compact list of clickable/labelled elements with bounds and 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 |
|---|---|---|---|
| serial | No | Device serial (optional; defaults to first ADB_SERIAL entry or the only connected device) |