get_phone_state
Retrieve the current app, activity, keyboard state, and focused element to quickly identify what screen the device is showing without parsing the full UI hierarchy.
Instructions
Get current app, activity, keyboard state, and focused element. Quick way to check what app/screen the device is on without parsing full elements.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device": "<device>"
},
"name": "get_phone_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |