android_current_app
Retrieve the package name and activity of the foreground Android app to determine which application currently has focus.
Instructions
Get the package name and activity of the currently focused foreground Android application.
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": "android_current_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | No | Optional device ID |