take_screenshot
Capture the entire screen and return it as an inline image, with optional saving to a file path on macOS.
Instructions
Capture a screenshot of the entire screen and return it as an inline image. Optionally saves to a file path. macOS only (uses screencapture -x, no shutter sound).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional file path to save the PNG (e.g. '~/Desktop/screenshot.png'). Leave empty to skip saving. |