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.
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 |