ui_dump
Captures the current Android screen's foreground app and visible UI elements—text, descriptions, IDs, bounds, and flags—so agents can inspect and act on the interface.
Instructions
Describe the current screen: foreground app and visible elements (text, desc, id, bounds, flags).
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 |
|---|---|---|---|
| raw | No | Return the raw uiautomator XML instead. | |
| all_nodes | No | Include layout nodes without text/desc that are not clickable. |