screenshot
Capture the Android device screen as a full-resolution PNG and get a downscaled inline copy with scale factor to map back to device pixels.
Instructions
Take a screenshot of the device screen. Saves a full-resolution PNG and returns a downscaled copy inline (the text notes the scale factor to map back to device pixels).
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": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial (e.g. emulator-5554). Optional when exactly one device is connected. | |
| output_path | No | /tmp/android-screenshot.png | |
| return_image | No | Also return the image inline | |
| inline_max_px | No | Longest side of the inline image; 0 = full resolution |