Snapshot UI hierarchy
snapshot_uiDump the current Android UI as a list of actionable elements with text, IDs, and tap coordinates. Use the filter option to search within text-heavy screens.
Instructions
Dump the current UI as a compact list of actionable elements (text, id, content-desc, tap coordinates). Use the @(x,y) centers with tap/long_press. Text-heavy screens are capped; pass 'filter' to search within them.
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": "snapshot_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Only include elements whose text/desc/id contains this (case-insensitive) | |
| serial | No | Device serial (defaults to session or the only device) |