Read the screen as text
ui_dumpCaptures the current Android screen as compact text, including element labels, IDs, flags, and tap coordinates, so agents can inspect UI state before and after actions without screenshots.
Instructions
Current screen as compact text: label, id, flags and @(x,y) centre per element, for android_tap. Far cheaper than a screenshot; call before and after each action.
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 if one device | |
| interactiveOnly | No | Only clickable/scrollable/editable |