get_current_activity
Retrieve the currently displayed Android app and activity for device control and automation tasks.
Instructions
Get the currently displayed app and activity
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": "get_current_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No | Device ID (optional if only one device) |