Skip to content

capturemann annotate

Add annotation ops to a screenshot (annotate)

Same action as the MCP tools: annotatesuggest_redactionssuggest_blueprint

Synopsis:

Terminal
capturemann annotate [OPTIONS] <ID>

Arguments:

ArgumentDescription
<ID>Capture id

Options (plus the global flags):

FlagValueAllowed valuesDefaultDescription
--ops<JSON|FILE|->Ops as a JSON array (or {"ops": [...]}): inline JSON, a file path, or - for stdin
--replaceswitchReplace the existing ops instead of appending (still one undo step)
--out<FILE>Write the rendered PNG to this file
--copyswitchAlso copy the rendered image (annotations and redactions applied) to the clipboard
--no-imageswitchDo not ask the daemon to send the rendered image back (return_image: false)
--suggest-redactionsswitchRead-only (suggest_redactions): find emails, API keys and other tokens (and phone numbers and IPv4 addresses) with on-device text recognition and print blur rectangles. Nothing is applied; pass the ones you accept to annotate --ops as blur ops
--redact-emailsswitchLike --suggest-redactions, but email addresses only
--kinds<KIND[,KIND...]>With --suggest-redactions: which kinds to look for, comma separated or repeated (--kinds email,token --kinds phone). Default: every kind except npi, which is off unless named. The daemon rejects unknown names
--suggest-blueprintswitchRead-only (suggest_blueprint): find the text lines with on-device text recognition and print them as boxes (with the measured fill and bar colour) for a blueprint op. Nothing is applied; pass the boxes you want replaced to annotate --ops (base edits first)

Examples:

Terminal
$ capturemann annotate shot_06GYEY0TM4JZ7KGH --ops '<ops>' --no-imageAnnotated shot_06GYEY0TM4JZ7KGH: revision 1 by agent:capturemann-cli
Terminal
$ capturemann annotate shot_06GYEY0TM4JZ7KGH --suggest-redactions0 proposed redaction(s) for shot_06GYEY0TM4JZ7KGH (nothing applied)
Terminal
$ capturemann annotate shot_06GYEY0TM4JZ7KGH --suggest-blueprint0 text line(s) in shot_06GYEY0TM4JZ7KGH (nothing applied)

An arrow, line, rect or ellipse op takes an optional style ("solid" by default, "dashed" or "dotted"; ANN-12), for example --ops '[{"op":"rect","rect":[20,20,200,80],"style":"dashed"}]'. Any other value is invalid_input naming the op (ops[0]).

The output above was run against a headless daemon with an empty throw-away library.