capture_window_and_post
Capture a screenshot of an app window and post it to Slack as a review. Use when no offscreen render exists.
Instructions
Screenshot the running app window (X11/KDE) and post it to Slack as a review. Use only when no offscreen render exists; otherwise prefer send_to_slack with a repro-rendered PNG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trim | No | Auto-crop a uniform border/background before posting. | |
| title | No | Task/review title: the card header AND the file title in Slack. Defaults to the file name. | |
| window | No | Window title substring to capture (default CAPTURE_WINDOW_TITLE, e.g. 'Clonify'). Use 'active' for the focused window, or 'full'/'root' for the whole screen. | |
| channel | No | Destination (C.../D.../U...); defaults to SLACK_DEFAULT_CHANNEL. | |
| message | No | Caption shown with the upload. | |
| thread_ts | No | Reply into an existing review thread (pass an earlier `review_id`); omit to start a new one. | |
| echo_image | No | Also return the posted image so you can confirm what was sent. | |
| allow_fullscreen | No | Permit the whole-screen fallback when the window title can't be matched. Off by default so a missed match errors (NO_WINDOW_MATCH) instead of silently posting your whole desktop to Slack. |