item command
item handles single-item inspection, export, PDF-related work, and most library-mutating actions.
Read-oriented subcommands
bash
zot --json item get ATTN001
zot --json item related ATTN001 --limit 10
zot item open ATTN001
zot item open ATTN001 --url
zot --json item pdf ATTN001
zot --json item pdf ATTN001 --pages 1-3
zot --json item fulltext ATTN001
zot --json item children ATTN001
zot --json item download ATCH005
zot --json item deleted --limit 20
zot --json item versions --since 1200
zot --json item outline ATTN001
zot item export ATTN001 --format bibtex
zot item cite ATTN001 --style natureNotes:
item pdfanditem fulltextcurrently share the PDF text-extraction pathitem pdf --annotationsreads annotations already embedded in the PDFitem childrenbatches notes, attachments, and annotations togetheritem downloadrequires an attachment key, not a parent item keyitem deletedlists items currently in Trashitem versionsreturns the remote item-version map for sync or troubleshooting workitem outlinedepends on local PDF availability and the document actually containing bookmarks
Supported citation styles:
apanaturevancouver
Creating items
Explicit aliases:
bash
zot --json item add-doi 10.1038/nature12373 --collection COLL001 --tag reading --attach-mode auto
zot --json item add-url https://arxiv.org/abs/1706.03762 --tag transformers --attach-mode auto
zot --json item add-file paper.pdf --doi 10.1038/nature12373 --collection COLL001 --tag importedBackwards-compatible create usage:
bash
zot --json item create --doi 10.1038/nature12373 --tag reading --attach-mode auto
zot --json item create --url https://example.com/paper --collection COLL001
zot --json item create --pdf paper.pdf --doi 10.1038/nature12373attach-mode:
autolinked-urlnone
The auto OA PDF cascade runs in this order:
- Unpaywall
- arXiv relation
- Semantic Scholar
- PubMed Central
Update, trash, restore, and attachments
bash
zot --json item update ATTN001 --title "New Title" --field publicationTitle=Nature
zot --json item trash ATTN001
zot --json item restore ATTN001
zot --json item attach ATTN001 --file supplement.pdf
zot --json item download ATCH005 --output downloads/These commands mutate the library. Check first that:
doctorhas been runZOT_API_KEYis configuredZOT_LIBRARY_IDis configured
Notes:
item attachuploads a new attachmentitem downloaddownloads an existing attachment
merge
bash
zot --json item merge KEEP001 DUPE001
zot --json item merge KEEP001 DUPE001 --confirm
zot --json item merge KEEP001 DUPE001 --keep DUPE001 --confirmNotes:
- it is preview-first by default; without
--confirm, nothing is written --keepselects which item survives; without it, the first key is kept- only top-level bibliographic items are supported
- the preview reports metadata fills, added tags / collections, child re-parent count, and skipped duplicate attachments
- if you are merging from duplicate-detection results first,
library duplicates-mergeremains available
note / tag / annotation / scite
notes
bash
zot --json item note list ATTN001
zot --json item note search transformer --limit 10
zot --json item note add ATTN001 --content "Key finding: ..."
zot --json item note update NOTE001 --content "Revised note"
zot --json item note delete NOTE001tags
bash
zot --json item tag list ATTN001
zot --json item tag add ATTN001 --tag important --tag reading-list
zot --json item tag remove ATTN001 --tag obsolete
zot --json item tag batch --tag test --add-tag verified --limit 50annotations
bash
zot --json item annotation list --item-key ATTN001 --limit 50
zot --json item annotation search "core finding" --limit 20
zot --json item annotation create ATCH005 --page 1 --text "attention mechanisms" --color "#2ea043"
zot --json item annotation create-area ATCH005 --page 1 --x 0.10 --y 0.20 --width 0.30 --height 0.10Notes:
- annotation creation is PDF-first and requires a locally readable PDF attachment
createlocates text by phrasecreate-areacreates an image-style annotation from normalized coordinates
Scite
bash
zot --json item scite report --item-key ATTN001
zot --json item scite report --doi 10.1038/nature12373
zot --json item scite search "attention" --limit 10
zot --json item scite retractions --collection COLL001 --limit 50Usage guidance
- find the item first with
library searchorlibrary citekey - switch to
itemwhen the task becomes single-item and detail-oriented - use
collectionfor actual Zotero collection maintenance - use
workspacefor long-lived topic sets