add_reference_by_arxiv
Add a Zotero reference from an arXiv ID by resolving metadata, deduplicating entries, and attaching the open-access PDF when available; preview with dry run before writing.
Instructions
Add a reference to Zotero by arXiv ID.
Resolves metadata via the arXiv API, deduplicates, POSTs the item, and
attempts to attach the open-access PDF as a child item (non-fatal if
the PDF can't be fetched).
Args:
arxiv_id: The arXiv identifier (e.g., '2401.12345' or 'hep-th/0211177').
Optional 'vN' version suffix preserved on the PDF URL.
collection_key: Optional Zotero collection key.
dry_run: If True (default), preview 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": {
"arxiv_id": "<arxiv_id>"
},
"name": "add_reference_by_arxiv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| arxiv_id | Yes | ||
| collection_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |