screen
Capture and annotate screenshots from mobile and desktop platforms. Use capture with optional compression, diff, or quality presets. Use annotate to highlight element bounding boxes. Supports Android, iOS, desktop, Aurora, and browser.
Instructions
Screen capture and annotation. capture: screenshot with compression/diff. annotate: screenshot with element bounding boxes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| platform | No | Target platform. If not specified, uses the active target. | |
| preset | No | Quality preset: low (270x480 q40), medium (540x960 q55, default), high (810x1440 q70) | |
| compress | No | Compress image (default: true) | |
| maxWidth | No | Max width in pixels (default: 540) | |
| maxHeight | No | Max height in pixels (default: 960) | |
| quality | No | JPEG quality 1-100 (default: 55) | |
| monitorIndex | No | Monitor index for multi-monitor desktop setups | |
| diff | No | Compare with previous screenshot (capture only) | |
| diffThreshold | No | Pixel difference threshold 0-255 (default: 30) | |
| waitForStable | No | Wait for UI to stabilize before capturing (capture only) |