cite_dois
Format citations for one or more DOIs in any citation style or export format, including APA, IEEE, BibTeX, and RIS, to build bibliographies and reference lists.
Instructions
Format citations for one or more DOIs in any citation style or export format.
Uses DOI content negotiation, so it works for Crossref AND DataCite DOIs (arXiv, Zenodo, ...).
When to use:
- Building a bibliography / reference list for a thesis or paper.
- Exporting references to Zotero, Mendeley or EndNote (bibtex / ris).
Args:
dois: List of DOIs (max 50), e.g. ["10.1038/nature14539", "10.1145/3065386"].
style: Citation style or export format:
- "apa" (default), "ieee", "vancouver", "chicago", "mla", "harvard", "nature"
- any other CSL style id from https://github.com/citation-style-language/styles,
e.g. "american-medical-association"
- "bibtex", "ris" or "csl-json" for reference-manager exports
Returns:
{"style": str, "citations": [{"doi": str, "citation": str}], "failed": [{"doi", "error"}]}
Example:
cite_dois(["10.1038/nature14539"], style="ieee")
-> "Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning,” Nature, vol. 521, no. 7553, ..."
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": {
"dois": "<dois>"
},
"name": "cite_dois"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dois | Yes | ||
| style | No | apa |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||