get_top_activities
Identify the current foreground activity on a connected Android device. Returns the top activity without requiring parameters, enabling UI context checks and automation.
Instructions
Returns the activities currently on top on the connected Android device. No parameters are required.
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_top_activities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||