Current activity
android_current_screenRetrieve the active Android screen's package and activity to detect navigation changes or a crash back to the launcher.
Instructions
Activity in focus (package/Activity); detects navigation or a crash to the launcher.
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_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial; optional if one device |