Take Screenshot
take_screenshotCapture a device screen as PNG or JPEG with optional resizing to reduce file size for AI analysis. Returns image dimensions and file size.
Instructions
Capture a screenshot of the device screen. Returns the image with metadata (width, height, file size). Supports PNG (lossless, larger) and JPEG (compressed, smaller). Use format='jpeg' with quality and max_width to reduce image size for AI analysis.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_id": "<device_id>"
},
"name": "take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device serial ID | |
| format | No | Image format: 'png' (lossless, default) or 'jpeg' (compressed) | |
| quality | No | JPEG quality 1-100 (default: 80). Only used when format is 'jpeg' | |
| max_width | No | Resize to this max width in pixels, maintaining aspect ratio. Reduces file size significantly |