capture_window
Capture a screenshot of a window or full screen by window title substring. Optionally auto-crop borders and allow fallback to full screen. Returns the image for inspection.
Instructions
Capture a screenshot WITHOUT posting, and return it for inspection. Compose with send_to_slack: look at the image, then post the returned path if it's the right frame. No Slack call, so no token/scopes are needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trim | No | Auto-crop a uniform border/background. | |
| window | No | Window title substring (default CAPTURE_WINDOW_TITLE). Use 'active' for the focused window, or 'full'/'root' for the whole screen. | |
| allow_fullscreen | No | Permit the whole-screen fallback when the title can't be matched (otherwise NO_WINDOW_MATCH). |