add_reference_by_doi
Add a Zotero reference by DOI: resolve metadata via Crossref, check for duplicates in your local library, and create the item only when new; preview changes with dry run.
Instructions
Add a reference to Zotero by DOI.
Resolves metadata via Crossref, deduplicates against the local library,
and POSTs a new item if not duplicate.
Args:
doi: The DOI string (e.g., '10.1145/3458817.3476195').
collection_key: Optional Zotero collection key to file the new item in.
dry_run: If True (default), preview the resolved metadata without writing.
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": {
"doi": "<doi>"
},
"name": "add_reference_by_doi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doi | Yes | ||
| dry_run | No | ||
| collection_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |