android_ui_dump
Retrieve the current Android screen's UI hierarchy as a compact list of visible, interactive elements with text, resource IDs, and bounds to enable UI analysis and automation.
Instructions
Dump the current Android screen UI hierarchy using UIAutomator. Returns a structured, compact list of visible and interactive UI elements with their text, resource IDs, and screen bounds.
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": "android_ui_dump"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | No | Optional device ID |