adb_screen_state
Capture a combined Android screen snapshot—foreground activity, dimensions, orientation, battery, and interactive UI elements—in one call to replace multiple ADB queries.
Instructions
Get a combined screen state snapshot in one call: foreground activity, screen dimensions and density, orientation, battery level, and a TSV list of interactive UI elements. Replaces 3-4 separate tool calls with a single round-trip. Ideal as a first step in any automation workflow.
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_screen_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial | |
| clickableOnly | No | Only include clickable/scrollable elements in TSV output (default true) |