screenshot
Capture the screen or a specified region to obtain exact pixel coordinates and scaling factors. Use before any coordinate-based action to ensure accurate mouse and keyboard control.
Instructions
Capture the screen (or a region, in points). The response includes bounds_pt and px_per_pt: point = bounds_pt.origin + pixel / px_per_pt. Take a screenshot before any coordinate action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | ||
| format | No | png | |
| region | No | ||
| max_dim | No |