Inspect Adb Window
inspect_adb_windowRead an Android device's current window focus to identify the foreground app or window at read time, without interaction or changes.
Instructions
Report the window manager's current focus declarations (dumpsys window windows: mCurrentFocus and mFocusedApp) — what is on screen at read time without any interaction. Read-only.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serial": "emulator-5554"
},
"name": "inspect_adb_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Device serial exactly as `adb devices` reports it |