Screenshot
screenshotCapture the Android device's current screen as an image with its dimensions, letting an AI agent inspect the display and choose format, quality, or size limits.
Instructions
Take a screenshot of the device screen right now and return it as an image you can look at, plus one line of text with the image size and the device's real screen size.
The default is a JPEG whose longest side is 1024 px (tens of KB). A full-size PNG of a 1440x3120 phone is about 3 MB, which is more than many MCP clients accept in a tool result, so ask for it only when you need it: format="png", max_side=None.
format is "jpeg", "webp" or "png"; quality is 1-100 (jpeg/webp);
max_side caps the longest side in pixels (64-8192); scale (0.1-1)
shrinks by a factor instead. When the image is smaller than the screen,
pass its size as image_width/image_height to tap(), long_press() or
swipe() so x,y are read in the image's pixels. Prefer snapshot() when you
only need text and refs: it's far smaller.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| device | No | ||
| format | No | jpeg | |
| quality | No | ||
| max_side | No |