get_top_activity
Identify the foreground activity currently displayed on a connected Android device. Use this to determine which app or screen is active without requiring parameters.
Instructions
Returns the singular activity 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_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||