Screenshot
screenshotCapture the current device or emulator screen as an image. Optionally annotate UI elements with numbered bounding boxes, including text in images or WebViews.
Instructions
Take a screenshot of the device/emulator screen and return it as an image. With annotate: true (needs the Google android CLI), UI elements get numbered bounding boxes — including text inside images/WebViews that snapshot_ui cannot see.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial (defaults to session or the only device) | |
| annotate | No | Draw labeled bounding boxes around UI elements (vision-based) |