current_app
Identify which app is currently in the foreground on an Android device by returning its package name; optionally specify a device serial.
Instructions
Get the foreground app package
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial (optional; defaults to first ADB_SERIAL entry or the only connected device) |