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.
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": {
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "capture_region"
}
}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. |