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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "capture"
}
}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. |