ui_dump
Dump the Android accessibility hierarchy to inspect on-screen elements’ text, resource ID, bounds, and tap center for reliable UI automation.
Instructions
Dump the accessibility hierarchy: every element with text, resource-id, bounds and tap centre. This is how you 'see' the screen.
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 |
|---|---|---|---|
| fresh | No | Bypass the short-lived hierarchy cache | |
| max_nodes | No | Cap the node list (default 250) | |
| include_raw | No | Include the raw uiautomator XML |