Take screenshot
adb_screenshotCapture the screen as a JPEG to see images, video, or games that a UI dump cannot, and get the scale to tap coordinates on the image.
Instructions
Take a screenshot of the device screen. Returns a JPEG image, then a text line with the logical screen size, the image size and the scale between them, e.g. "screen 1080x2340 -> image 473x1024 · scale 2.283/2.285". Pass coords="screenshot" to adb_tap/adb_swipe to tap coordinates read off that image. A near-uniformly dark frame is a warning after the image, not a refusal. To read labels and exact tap points, adb_ui_dump is cheaper and precise; the screenshot shows what the dump cannot (images, video, games).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_px | No | Max dimension 320-1920, default 1024 | |
| serial | No | Device serial from adb_devices. Optional when exactly one device is connected. | |
| quality | No | JPEG quality 30-95, default 70 |