capture_ui
Captures an Android device’s screen, current focus, and UIAutomator hierarchy into a snapshot with node IDs, bounds, and artifact hashes for UI inspection and analysis.
Instructions
Capture an explicit Android device screen, current focus and UIAutomator hierarchy into a new snapshot. Returns node IDs, bounds and artifact hashes. Uses and deletes one owned temporary device XML file. Compose/WebView/custom rendering may expose only partial semantics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | ||
| package | No | ||
| analysis_project_id | No | Optional investigation to retain this tool result in. Does not prove target identity or causal relationships. |