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.
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": "take_screenshot"
}
}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 |