current
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Report the app currently in the foreground, as a package name or bundle id. These call app_current.
current
current(): Promise<string>
Examples
Ask which app is in front
const app = await device.current()
console.log(app) // 'com.android.settings'
The same call from the command line, mobium current, printed on an Android 15 emulator:
com.android.settings