adb_current_activity
Retrieves the currently focused Android activity and window stack to identify which app or screen is active on a connected device.
Instructions
Get the currently focused activity and window stack
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_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial |