Screenshot the Android device
android_screenshotCaptures an Android device or emulator screen and returns it as an image, so coding assistants can inspect UI state, verify changes, and debug visual issues.
Instructions
Captures the device screen and returns it as an image.
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": "android_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | adb serial (from android_devices). Default: the only online device. | |
| maxDimension | No | Downscale so the longest side is at most this many px (default 900; 0 keeps the original size). |