Skip to content

annotate

FreeRuns at once; you can set it to Ask first

Same action in the terminal: capturemann annotate

Add annotation ops (arrow, line, rect, ellipse (these four take style: solid, dashed or dotted), text, highlight, step, callout, spotlight, stamp, magnify, retype, move_area, blueprint, blur, pixelate, crop) to a screenshot.

  • Tier: Free, changes something: runs at once; the user can set it to Ask first.
  • Read-only: no
  • CLI: capturemann annotate
  • Spec: ANN-1, ANN-2
NameTypeRequiredDefaultDescription
capture_idstringyesCapture id, e.g. from capture_screenshot or list_library. (min length 1)
opsarray of object {from, to, color, width, op, id} or object {from, to, color, width, op, id} or object {rect, color, width, fill, radius, op, id} or object {rect, color, width, op, id} or object {at, text, size, color, outline, bg, op, ...} or object {rect, color, opacity, op, id} or object {at, n, size, color, style, start, text, ...} or object {rect, tail, text, size, color, bg, radius, ...} or object {shapes, dim, mode, strength, op, id} or object {at, kind, size, color, text, op, id} or object {rect, strength, op, id} or object {rect, block, op, id} or object {rect, op, id} or object {source, at, zoom, shape, border, border_width, connector, ...} or object {rect, fill, text, size, color, weight, align, ...} or object {source, to, fill, op, id} or object {boxes, style, color, radius, colors, fills, op, ...}yesThe ops to add. Empty is allowed only with replace: true, which clears every annotation (revert to the original).
replacebooleannofalseClear the existing ops first (still one undo step).
copy_to_clipboardbooleannofalseCopy the rendered image (annotations and redactions applied, never the original) to the clipboard once the revision is saved.
return_imagebooleannotrueReturn the rendered image. Set false when you do not need it (the result then has image: null).
request_idstringnoIdempotency key; a repeat within 24 h returns the first result. (min length 1, max length 256)

Returns: capture_id, revision, by, copied_to_clipboard, warnings, auto_text, image.

Errors: invalid_input, busy, user_declined, not_found (plus the common errors above).

JSON
{"name": "annotate", "arguments": {"capture_id": "shot_06GYEX0HFHRZHYWH", "ops": [{"op": "rect", "rect": [40, 40, 200, 120], "color": "#E5484D", "width": 4}, {"op": "text", "at": [60, 200], "text": "Step 1", "size": 28}], "return_image": false}}