Get Current Foreground App
adb_current_appRetrieve the package name and activity of the currently foreground app on an Android device.
Instructions
Get the package name and activity of the foreground app.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "adb_current_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||