Skip to content

delete_capture

ConfirmAlways asks firstDestructive

Same action in the terminal: capturemann library rm

Delete a capture: its folder is moved to the Trash (the user can restore it) and it leaves the library.

  • Tier: Confirm, locked: always asks on screen; the setting cannot be changed.
  • Read-only: no (destructive: removes data)
  • CLI: capturemann library rm
  • Spec: LIB-1
NameTypeRequiredDefaultDescription
capture_idstringyesCapture id, e.g. from capture_screenshot or list_library. (min length 1)
also_delete_remotebooleannofalseAlso permanently delete the remote copies recorded in the capture (Google Drive, local destinations, YouTube), listed in the confirmation dialog. A failed remote step keeps the capture.
request_idstringnoIdempotency key; a repeat within 24 h returns the first result. (min length 1, max length 256)

Returns: capture_id, title, kind, size_bytes, moved_to_trash, deleted_remote, remote.

Errors: network, platform_rejected, auth_expired, busy, user_declined, confirmation_timeout, not_found (plus the common errors above).

JSON
{"name": "delete_capture", "arguments": {"capture_id": "rec_06GYEVMCKZSRHR46", "also_delete_remote": false}}