dump_ui
Capture the current Android screen's UI hierarchy as a JSON tree with class, text, resource ID, bounds, and interaction flags, enabling QA inspection and test automation.
Instructions
Dump the current screen's UI hierarchy (uiautomator) as a JSON tree: class, text, resource_id, content_desc, bounds [x1,y1,x2,y2] and flags (clickable, scrollable, ...).
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": "dump_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | ||
| compact | No | Drop layout-only wrapper nodes (recommended). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||