zotero_add_by_bibtex
Add research items to Zotero by providing BibTeX text or a .bib file. Supports duplicate handling, collection assignment, and automatic PDF attachment for entries with DOIs.
Instructions
Add one or more items to Zotero from BibTeX. Provide EITHER bibtex (inline string) OR file_path (absolute path to a .bib / .bibtex file) — not both. Supports multiple @entries per call. The citation key from each entry is preserved in the Extra field. If an entry has a DOI, an open-access PDF attachment is attempted. collections accepts keys, names, or '/'-paths (validated before create). if_exists: 'duplicate' (default) | 'file' (entries whose DOI already exists reuse that item — add missing collections/tags instead of duplicating) | 'skip' (leave existing matches untouched); entries without a DOI always create. create_missing_collections: create unknown collection specs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bibtex | No | ||
| file_path | No | ||
| collections | No | ||
| tags | No | ||
| attach_mode | No | auto | |
| if_exists | No | duplicate | |
| create_missing_collections | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |