Skip to content

capturemann library

Browse the library (list_library)

  • MCP tool: see the subcommands below.

Synopsis:

Terminal
capturemann library [OPTIONS] <COMMAND>

Subcommands:

  • capturemann library list: List captures, newest first
  • capturemann library search: Full-text search (same as list --query)
  • capturemann library rename: Rename a capture: sets its title and renames its folder (rename_capture)
  • capturemann library rm: Move a capture to the Trash (delete_capture). The user must approve on screen. With --also-remote the dialog lists the remote copies that are deleted first
  • capturemann library move: Change the folder the library lives in (move_library). The user must approve on screen (the dialog names the old and the new folder and the size); nothing is deleted from the old folder. The app...

capturemann library list

List captures, newest first

  • MCP tool: list_library, Free, read-only
  • Asks on screen: No (read-only).

Synopsis:

Terminal
capturemann library list [OPTIONS]

Options (plus the global flags):

FlagValueAllowed valuesDefaultDescription
--query<QUERY>Search text (title match)
--kind<KIND>screenshot, recording, audio, guideOnly screenshot, recording (screen), audio or guide (Click Guides)
--status<STATUS>uploaded, not_uploaded, published, not_publishedOnly captures with or without upload or publish records
--limit<LIMIT>Page size (1 to 200, default 50)
--cursor<CURSOR>next_cursor of the previous page

Examples:

Terminal
$ capturemann library listshot_06GYEY0TM4JZ7KGH  screenshot  640x400  2026-11-17T03:06:10.480342Z  demoshot_06GYEY0VP3EECBAH  screenshot  640x400  2026-11-17T03:06:10.747516Z  demo
Terminal
$ capturemann --json library list --limit 1{  "captures": [    {      "id": "shot_06GYEY0TM4JZ7KGH",      "title": "demo",      "kind": "screenshot",      "created": "2026-11-17T03:06:10.480342Z",      "duration": null,      "width": 640,      "height": 400,      "size_bytes": 18114,      "broken": false,      "uploads": [],      "publishes": [],      "source": {        "path": "/home/me/cm-demo/demo.png",        "imported_at": "2026-11-17T03:06:10.480342Z",        "original_name": "demo.png"      }    }  ],  "next_cursor": "1"}

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

Full-text search (same as list --query)

  • MCP tool: list_library, Free, read-only
  • Asks on screen: No (read-only).

Synopsis:

Terminal
capturemann library search [OPTIONS] <TEXT>

Arguments:

ArgumentDescription
<TEXT>See the synopsis.

Options (plus the global flags):

FlagValueAllowed valuesDefaultDescription
--kind<KIND>screenshot, recording, audio, guideOnly screenshot, recording (screen), audio or guide (Click Guides)
--status<STATUS>uploaded, not_uploaded, published, not_publishedOnly captures with or without upload or publish records
--limit<LIMIT>Page size (1 to 200, default 50)
--cursor<CURSOR>next_cursor of the previous page

Examples:

Terminal
$ capturemann library search demoshot_06GYEY0TM4JZ7KGH  screenshot  640x400  2026-11-17T03:06:10.480342Z  demoshot_06GYEY0VP3EECBAH  screenshot  640x400  2026-11-17T03:06:10.747516Z  demo

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

capturemann library rename

Rename a capture: sets its title and renames its folder (rename_capture)

  • MCP tool: rename_capture, Free, can be set to Ask first
  • Asks on screen: No, unless the user set the tool to Ask first in Settings > Agents & CLI.

Synopsis:

Terminal
capturemann library rename [OPTIONS] <ID> <TITLE>

Arguments:

ArgumentDescription
<ID>Capture id
<TITLE>The new title

Examples:

Terminal
$ capturemann library rename shot_06GYEY0VP3EECBAH AfterRenamed shot_06GYEY0VP3EECBAH to "After"  library: /home/me/cm-demo/lib/After.cmshot

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

capturemann library rm

Move a capture to the Trash (delete_capture). The user must approve on screen. With --also-remote the dialog lists the remote copies that are deleted first

  • MCP tool: delete_capture, Confirm, asks on screen (locked)
  • Asks on screen: Yes. The app shows an on-screen confirmation and the command waits up to 5 minutes; the answer no or no answer is exit 3 (user_declined or confirmation_timeout).

Synopsis:

Terminal
capturemann library rm [OPTIONS] <ID>

Arguments:

ArgumentDescription
<ID>Capture id

Options (plus the global flags):

FlagValueAllowed valuesDefaultDescription
--also-remoteswitchAlso delete the remote copies the capture records, PERMANENTLY: Google Drive files and folders, copies in local destination folders, YouTube videos. If one step fails the capture is kept and the error says what was and was not deleted

Examples:

Terminal
$ capturemann library rm shot_06GYEY0VP3EECBAHerror[user_declined]: No confirmation UI is attached to this daemon  reason: no_confirmer   (stderr)(exit 3)

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

capturemann library move

Change the folder the library lives in (move_library). The user must approve on screen (the dialog names the old and the new folder and the size); nothing is deleted from the old folder. The app uses the new folder after it restarts. Prints the job id; --wait blocks until the copy ends

  • MCP tool: move_library, Confirm, asks on screen (locked)
  • Asks on screen: Yes. The app shows an on-screen confirmation and the command waits up to 5 minutes; the answer no or no answer is exit 3 (user_declined or confirmation_timeout).

Synopsis:

Terminal
capturemann library move [OPTIONS] <PATH>

Arguments:

ArgumentDescription
<PATH>The new library folder (relative paths and ~ are resolved here; the folder is created if it does not exist)

Options (plus the global flags):

FlagValueAllowed valuesDefaultDescription
--freshswitchStart an empty library there instead of copying (the old files stay where they are)
--use-existingswitchThe folder already holds a CaptureMann library: switch to it without copying
--waitswitchWait for the copy to finish (exit 6 if it fails or is cancelled)
--timeout<SECS>With --wait: give up after this many seconds (exit 6; the job keeps running)

Examples:

Not run here (syntax only):

Shell
capturemann library move /Volumes/Big/CaptureMann --wait

capturemann library list

List captures, newest first

  • MCP tool: list_library, Free, read-only
  • Asks on screen: No (read-only).

Synopsis:

Terminal
capturemann library list [OPTIONS]

Options (plus the global flags):

FlagValueAllowed valuesDefaultDescription
--query<QUERY>Search text (title match)
--kind<KIND>screenshot, recording, audio, guideOnly screenshot, recording (screen), audio or guide (Click Guides)
--status<STATUS>uploaded, not_uploaded, published, not_publishedOnly captures with or without upload or publish records
--limit<LIMIT>Page size (1 to 200, default 50)
--cursor<CURSOR>next_cursor of the previous page

Examples:

Terminal
$ capturemann library listshot_06GYEY0TM4JZ7KGH  screenshot  640x400  2026-11-17T03:06:10.480342Z  demoshot_06GYEY0VP3EECBAH  screenshot  640x400  2026-11-17T03:06:10.747516Z  demo
Terminal
$ capturemann --json library list --limit 1{  "captures": [    {      "id": "shot_06GYEY0TM4JZ7KGH",      "title": "demo",      "kind": "screenshot",      "created": "2026-11-17T03:06:10.480342Z",      "duration": null,      "width": 640,      "height": 400,      "size_bytes": 18114,      "broken": false,      "uploads": [],      "publishes": [],      "source": {        "path": "/home/me/cm-demo/demo.png",        "imported_at": "2026-11-17T03:06:10.480342Z",        "original_name": "demo.png"      }    }  ],  "next_cursor": "1"}

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

Full-text search (same as list --query)

  • MCP tool: list_library, Free, read-only
  • Asks on screen: No (read-only).

Synopsis:

Terminal
capturemann library search [OPTIONS] <TEXT>

Arguments:

ArgumentDescription
<TEXT>See the synopsis.

Options (plus the global flags):

FlagValueAllowed valuesDefaultDescription
--kind<KIND>screenshot, recording, audio, guideOnly screenshot, recording (screen), audio or guide (Click Guides)
--status<STATUS>uploaded, not_uploaded, published, not_publishedOnly captures with or without upload or publish records
--limit<LIMIT>Page size (1 to 200, default 50)
--cursor<CURSOR>next_cursor of the previous page

Examples:

Terminal
$ capturemann library search demoshot_06GYEY0TM4JZ7KGH  screenshot  640x400  2026-11-17T03:06:10.480342Z  demoshot_06GYEY0VP3EECBAH  screenshot  640x400  2026-11-17T03:06:10.747516Z  demo

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

capturemann library rename

Rename a capture: sets its title and renames its folder (rename_capture)

  • MCP tool: rename_capture, Free, can be set to Ask first
  • Asks on screen: No, unless the user set the tool to Ask first in Settings > Agents & CLI.

Synopsis:

Terminal
capturemann library rename [OPTIONS] <ID> <TITLE>

Arguments:

ArgumentDescription
<ID>Capture id
<TITLE>The new title

Examples:

Terminal
$ capturemann library rename shot_06GYEY0VP3EECBAH AfterRenamed shot_06GYEY0VP3EECBAH to "After"  library: /home/me/cm-demo/lib/After.cmshot

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

capturemann library rm

Move a capture to the Trash (delete_capture). The user must approve on screen. With --also-remote the dialog lists the remote copies that are deleted first

  • MCP tool: delete_capture, Confirm, asks on screen (locked)
  • Asks on screen: Yes. The app shows an on-screen confirmation and the command waits up to 5 minutes; the answer no or no answer is exit 3 (user_declined or confirmation_timeout).

Synopsis:

Terminal
capturemann library rm [OPTIONS] <ID>

Arguments:

ArgumentDescription
<ID>Capture id

Options (plus the global flags):

FlagValueAllowed valuesDefaultDescription
--also-remoteswitchAlso delete the remote copies the capture records, PERMANENTLY: Google Drive files and folders, copies in local destination folders, YouTube videos. If one step fails the capture is kept and the error says what was and was not deleted

Examples:

Terminal
$ capturemann library rm shot_06GYEY0VP3EECBAHerror[user_declined]: No confirmation UI is attached to this daemon  reason: no_confirmer   (stderr)(exit 3)

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

capturemann library move

Change the folder the library lives in (move_library). The user must approve on screen (the dialog names the old and the new folder and the size); nothing is deleted from the old folder. The app uses the new folder after it restarts. Prints the job id; --wait blocks until the copy ends

  • MCP tool: move_library, Confirm, asks on screen (locked)
  • Asks on screen: Yes. The app shows an on-screen confirmation and the command waits up to 5 minutes; the answer no or no answer is exit 3 (user_declined or confirmation_timeout).

Synopsis:

Terminal
capturemann library move [OPTIONS] <PATH>

Arguments:

ArgumentDescription
<PATH>The new library folder (relative paths and ~ are resolved here; the folder is created if it does not exist)

Options (plus the global flags):

FlagValueAllowed valuesDefaultDescription
--freshswitchStart an empty library there instead of copying (the old files stay where they are)
--use-existingswitchThe folder already holds a CaptureMann library: switch to it without copying
--waitswitchWait for the copy to finish (exit 6 if it fails or is cancelled)
--timeout<SECS>With --wait: give up after this many seconds (exit 6; the job keeps running)

Examples:

Not run here (syntax only):

Shell
capturemann library move /Volumes/Big/CaptureMann --wait