screenshot
Capture screenshots from Android devices for visual analysis. Save images locally or use them directly in automated testing workflows.
Instructions
Take a screenshot of the Android device. Returns the image for visual analysis. Optionally saves to a file path.
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 |
|---|---|---|---|
| device_id | No | Device ID (optional if only one device) | |
| save_path | No | Local file path to save the screenshot PNG (optional) |