Capture Screen
captureCapture a full screenshot of the main display, or specify a display ID and max width for targeted captures. Requires Screen Recording permission.
Instructions
Take a screenshot of a full display (main display by default). Requires Screen Recording permission; falls back to the screencapture CLI if the native helper is unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxWidth | No | Downscale to this pixel width if larger. Defaults to MACCTL_MAX_IMAGE_WIDTH. | |
| displayId | No | CGDirectDisplayID from list_monitors; defaults to the main display. |