inspect_ui
Extract and analyze UI hierarchy from Android devices by generating XML dumps via ADB. Specify device ID, custom output paths, and optional base64 encoding for the content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asBase64 | No | Return XML content as base64 (default: false) | |
| device | No | Specific device ID (optional) | |
| outputPath | No | Custom output path on device (default: /sdcard/window_dump.xml) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"asBase64": {
"default": false,
"description": "Return XML content as base64 (default: false)",
"type": "boolean"
},
"device": {
"description": "Specific device ID (optional)",
"type": "string"
},
"outputPath": {
"description": "Custom output path on device (default: /sdcard/window_dump.xml)",
"type": "string"
}
},
"type": "object"
}