Inspect screen
inspect_screenRetrieve the current screen's view hierarchy as compact JSON with stable element IDs for UI automation. Use IDs with act tools or target elements by text/resource-id.
Instructions
Get the current screen's view hierarchy as compact JSON with stable element ids. Use the 'id' field with act tools (tap/input_text/...), or target by text/resource-id. Copy text verbatim — never retype from a screenshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device id from list_devices (adb serial like 'emulator-5554', or an iOS simulator UDID) |