Screenshot
screenshotCapture the Android device screen as a PNG image, optionally saving it to a file, to inspect UI state or debug visual issues.
Instructions
Capture the device screen as a PNG image. Optionally also save it to a file on this machine.
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 from devices_list. Optional when exactly one device is online. | |
| savePath | No | Also write the PNG to this path |