screenshot
Capture the current Android device screen and return it as a base64-encoded image, enabling visual inspection of the device state for verification or analysis purposes.
Instructions
Take a screenshot of the Android device screen. Returns the image as base64.
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 number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Capture path used (scrcpy frame or adb screencap) | |
| encoding | Yes | Encoding of the image data in the content block | |
| mimeType | Yes | MIME type of the returned image |