Take screenshot
take_screenshotCapture the screen on macOS, saving a PNG to a specified path or timestamped temp file. Supports selecting a display and including the cursor.
Instructions
Capture the screen with screencapture. display is the 1-based display id (-D). Saves PNG under an allowed path (default: a timestamped file in the temp dir). Requires Screen Recording permission for the host app that launched this server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Destination .png path inside an allowed root. Default: timestamped file in the temp dir. | |
| display | No | 1-based display index for screencapture -D | |
| includeCursor | No |