Capture Screen Region
capture_regionTake a screenshot of a rectangular region on macOS by specifying its top-left coordinates and size. Optionally downscale the output to a maximum width.
Instructions
Take a screenshot of a rectangular region in global screen points (top-left origin). Requires Screen Recording permission; falls back to screencapture -R if the helper is unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Region left edge, in global screen points. | |
| y | Yes | Region top edge, in global screen points. | |
| width | Yes | Region width in points. | |
| height | Yes | Region height in points. | |
| maxWidth | No | Downscale to this pixel width if larger. Defaults to MACCTL_MAX_IMAGE_WIDTH. |