Zotero Add Item
zotero_add_itemAdd a DOI, URL, ISBN, PMID, BibTeX, CSL JSON, or local file to Zotero, with collection, tag, duplicate-handling, and PDF attachment options.
Instructions
Add items from a DOI, URL, ISBN, PMID, BibTeX, CSL JSON or a local file; use it for every 'add this to Zotero' request. source: the identifier, URL, citation text or ABSOLUTE file path. DOI/URL/ISBN/PMID also take a comma- or newline-separated batch; BibTeX and CSL JSON may be inline (many entries) or a .bib/.json path. source_type: 'auto' (default) detects it. Prefer a DOI: a URL other than doi.org or arxiv.org becomes a bare webpage item, and ISBN metadata is noisy (verify it). For a file, its DOI is looked up, else metadata is guessed, then the file is attached; title overrides a missed title. collections: keys, names or 'Parent/Child' paths, checked before anything is created (create_missing_collections=True makes missing ones). if_exists: 'file' (default) reuses an item with the same DOI/arXiv ID/ISBN/URL, adding missing collections and tags; 'duplicate' always creates; 'skip' leaves a match alone. attach_mode: 'auto' (default) attaches an open-access PDF, 'linked_url' links it, 'none' skips, 'required' fails without one.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>"
},
"name": "zotero_add_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| title | No | ||
| source | Yes | ||
| if_exists | No | file | |
| attach_mode | No | auto | |
| collections | No | ||
| source_type | No | auto | |
| create_missing_collections | No |