capturemann capturePreview
Screenshots (capture_screenshot, get_capture)
- MCP tool: see the subcommands below.
Synopsis:
capturemann capture [OPTIONS] <COMMAND>Subcommands:
capturemann capture screenshot: Take a screenshot of a display, a window or a regioncapturemann capture get: Show a capture's metadata and optionally save its current image
capturemann capture screenshot
Take a screenshot of a display, a window or a region
- MCP tool: capture_screenshot, Free, can be set to Ask first
- Asks on screen: Normally no.
--longwith automatic scrolling (the default for Long Shot) is Confirm because the screen moves;--hand(you scroll) is refused for agents. Both are Preview. - Preview: yes, this is a Preview feature (it may still change).
Synopsis:
capturemann capture screenshot [OPTIONS]One of --display, --window, --region, --pick or --preset is required.
Options (plus the global flags):
| Flag | Value | Allowed values | Default | Description |
|---|---|---|---|---|
--display | <ID> | Display id (see targets) | ||
--window | <ID|TITLE> | Window id, or a case-insensitive substring of its title or app name. An exact title wins; several partial matches fail with ambiguous_target and list their ids | ||
--region | <X,Y,W,H> | Region x,y,w,h in physical px, relative to the display (default: primary display) | ||
--pick | switch | Let the desktop's own picker choose a window, a region or a screen (Wayland sessions, where windows have no ids). A person at the screen must choose; Esc cancels (exit 3) | ||
--delay | <SECONDS> | Wait this many seconds (0 to 30) before capturing | ||
--copy | switch | Also copy the image to the clipboard | ||
--annotate | <OPS> | Annotation ops to apply right away: a JSON file, inline JSON, or - for stdin | ||
--out | <FILE> | Write the resulting PNG to this file | ||
--title | <TITLE> | Library title (default: Screenshot yyyy-MM-dd HH.mm) | ||
--preset | <NAME|ID> | Run a Quick Capture preset by name or id (see presets list): it fills the delay, the copy and the Long Shot mode that this command leaves out; a flag given here wins. A preset holds no area: without --display, --window or --region the primary display is captured (a Window preset needs --window) (Preview) | ||
--long | switch | Long Shot (CAP-6): scroll the window (or area) and stitch one tall image. CaptureMann scrolls for you (the user confirms it when an agent runs this) (Preview) | ||
--horizontal | switch | Long Shot: scroll sideways instead of down (Preview) | ||
--max-px | <PX> | Long Shot: stop at this length in px (at most 16384) (Preview) | ||
--hand | switch | Long Shot: you scroll by hand (refused for agents) (Preview) |
Examples:
$ capturemann capture screenshoterror[invalid_input]: give one of --display, --window, --region, --pick or --preset (stderr)(exit 2)
The output above was run against a headless daemon with an empty throw-away library.
Not run here (syntax only):
capturemann capture screenshot --display 1 --out shot.pngcapturemann capture screenshot --window "Safari" --annotate ops.json --copycapturemann capture screenshot --window "Docs" --long --max-px 8000 # Long Shot (Preview)
capturemann capture get
Show a capture's metadata and optionally save its current image
- MCP tool: get_capture, Free, read-only
- Asks on screen: No (read-only).
Synopsis:
capturemann capture get [OPTIONS] <ID>Arguments:
| Argument | Description |
|---|---|
<ID> | Capture id |
Options (plus the global flags):
| Flag | Value | Allowed values | Default | Description |
|---|---|---|---|---|
--revision | <REVISION> | Revision (only the current one is supported) | ||
--out | <FILE> | Write the current image (annotations applied) to this PNG file |
Examples:
$ capturemann capture get shot_06GYEY0TM4JZ7KGHshot_06GYEY0TM4JZ7KGH demo kind: screenshot created: 2026-11-17T03:06:10.480342Z revision: 0 (undo: false, redo: false) ops: 0 path: /home/me/cm-demo/lib/demo.cmshot
The output above was run against a headless daemon with an empty throw-away library.
capturemann capture screenshot
Take a screenshot of a display, a window or a region
- MCP tool: capture_screenshot, Free, can be set to Ask first
- Asks on screen: Normally no.
--longwith automatic scrolling (the default for Long Shot) is Confirm because the screen moves;--hand(you scroll) is refused for agents. Both are Preview. - Preview: yes, this is a Preview feature (it may still change).
Synopsis:
capturemann capture screenshot [OPTIONS]One of --display, --window, --region, --pick or --preset is required.
Options (plus the global flags):
| Flag | Value | Allowed values | Default | Description |
|---|---|---|---|---|
--display | <ID> | Display id (see targets) | ||
--window | <ID|TITLE> | Window id, or a case-insensitive substring of its title or app name. An exact title wins; several partial matches fail with ambiguous_target and list their ids | ||
--region | <X,Y,W,H> | Region x,y,w,h in physical px, relative to the display (default: primary display) | ||
--pick | switch | Let the desktop's own picker choose a window, a region or a screen (Wayland sessions, where windows have no ids). A person at the screen must choose; Esc cancels (exit 3) | ||
--delay | <SECONDS> | Wait this many seconds (0 to 30) before capturing | ||
--copy | switch | Also copy the image to the clipboard | ||
--annotate | <OPS> | Annotation ops to apply right away: a JSON file, inline JSON, or - for stdin | ||
--out | <FILE> | Write the resulting PNG to this file | ||
--title | <TITLE> | Library title (default: Screenshot yyyy-MM-dd HH.mm) | ||
--preset | <NAME|ID> | Run a Quick Capture preset by name or id (see presets list): it fills the delay, the copy and the Long Shot mode that this command leaves out; a flag given here wins. A preset holds no area: without --display, --window or --region the primary display is captured (a Window preset needs --window) (Preview) | ||
--long | switch | Long Shot (CAP-6): scroll the window (or area) and stitch one tall image. CaptureMann scrolls for you (the user confirms it when an agent runs this) (Preview) | ||
--horizontal | switch | Long Shot: scroll sideways instead of down (Preview) | ||
--max-px | <PX> | Long Shot: stop at this length in px (at most 16384) (Preview) | ||
--hand | switch | Long Shot: you scroll by hand (refused for agents) (Preview) |
Examples:
$ capturemann capture screenshoterror[invalid_input]: give one of --display, --window, --region, --pick or --preset (stderr)(exit 2)
The output above was run against a headless daemon with an empty throw-away library.
Not run here (syntax only):
capturemann capture screenshot --display 1 --out shot.pngcapturemann capture screenshot --window "Safari" --annotate ops.json --copycapturemann capture screenshot --window "Docs" --long --max-px 8000 # Long Shot (Preview)
capturemann capture get
Show a capture's metadata and optionally save its current image
- MCP tool: get_capture, Free, read-only
- Asks on screen: No (read-only).
Synopsis:
capturemann capture get [OPTIONS] <ID>Arguments:
| Argument | Description |
|---|---|
<ID> | Capture id |
Options (plus the global flags):
| Flag | Value | Allowed values | Default | Description |
|---|---|---|---|---|
--revision | <REVISION> | Revision (only the current one is supported) | ||
--out | <FILE> | Write the current image (annotations applied) to this PNG file |
Examples:
$ capturemann capture get shot_06GYEY0TM4JZ7KGHshot_06GYEY0TM4JZ7KGH demo kind: screenshot created: 2026-11-17T03:06:10.480342Z revision: 0 (undo: false, redo: false) ops: 0 path: /home/me/cm-demo/lib/demo.cmshot
The output above was run against a headless daemon with an empty throw-away library.