BibTeX entries
fetch_bibtexRetrieve BibTeX entries for DOIs or arXiv IDs and format them for .bib files with unique citation keys and clear failure comments.
Instructions
BibTeX entries of one or more papers or books, ready for a .bib file: @article, @book, or @misc for a preprint; authors as "Family, Given" with accents in LaTeX; the journal abbreviated; title math in LaTeX; pages or article number; DOI, and the arXiv eprint when known. Citation keys are FamilyYearThreeTitleWords (Macri2022SpontaneousScatteringRaman), unique within the call and against taken_keys. Ids that fail, or name a work already listed, are % comments before the entries.
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": {
"ids": "<ids>"
},
"name": "fetch_bibtex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | One or more ids, each a DOI (10.1103/PhysRevLett.129.273602, doi:…, https://doi.org/…) or arXiv id (2207.09470, arXiv:2207.09470v2, quant-ph/0101001, an arxiv.org link) | |
| taken_keys | No | Citation keys already in the .bib file: a new entry with the same key gets a letter (Keya) | |
| expand_initials | No | Write out initials ("J. R.") from the author's public ORCID record, when it is the same person |