dump_ui
Retrieve the current Android UI hierarchy as structured data, providing test scripts with all visible elements to inspect and interact with the screen.
Instructions
(Android) Dump the current UI hierarchy and return a structured representation of all visible elements
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 |
|---|---|---|---|
| device_id | No | Target device ID. If omitted, uses the default device. |