adb_state
Checks the foreground app, screen power state, and media playback on an Android device so you can verify that an action worked.
Instructions
What is in the foreground, whether the screen is on, and whether media is playing. Call this to check an action worked.
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": "adb_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | serial, ip[:port] or saved alias; omit to use the default device |