get_ui_tree
Retrieve the current UI hierarchy from an Android device or iOS simulator as structured JSON, including snapshot metadata and incremental delta signals for UI state tracking.
Instructions
Get the current UI hierarchy from an Android device or iOS simulator. Returns a structured JSON representation of the screen content with snapshot metadata and incremental delta signals when available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | No | Device Serial (Android) or UDID (iOS). Defaults to connected/booted device. | |
| platform | Yes | Platform to get UI tree for |