get_current_activity
Retrieve the foreground app's package and activity on an Android device to identify the active application.
Instructions
Return the currently focused activity/package (foreground app).
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 |
|---|---|---|---|
| serial | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||