get_current_activity
Identify the currently resumed Android activity or window to diagnose app state and support test assertions.
Instructions
Read the currently resumed Android activity/window for diagnosis and assertions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_serial | No | ADB serial such as emulator-5554, a USB serial, or host:port. If omitted, the active device is used; a sole ready device is selected automatically. |