Generate citations from DOI or ISBN
generate_citationsUse this when the user wants to cite this for me, build a works cited list or a reference generator: give a DOI, an ISBN or a list of them and get APA 7, MLA 9 or Chicago citations plus BibTeX and RIS files. Use it for a doi to citation or isbn to citation, an mla citation generator or a chicago citation generator, or to make bibtex from doi. The metadata is looked up live on Crossref and Open Library. A record those services do not have returns status not_found for that item and the other items still work. Do not use for a source that has no DOI or ISBN, or to cite legal cases, patents or datasets; use format_manual_citation for a manual source.
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": {
"identifiers": "<identifiers>"
},
"name": "generate_citations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Citation style: apa7 (default), mla9, chicago_ad or chicago_nb. | |
| identifiers | Yes | 1 to 25 DOIs or ISBNs, e.g. ["10.1038/nphys1170"] or ["9780140328721"]; a https://doi.org/ link and hyphens are accepted. | |
| keep_capitals | No | Words to keep as written, matched case-insensitively, e.g. ["Studies", "London"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| count | Yes | ||
| items | Yes | ||
| style | Yes | ||
| sources | Yes | ||
| resolved | Yes | ||
| downloads | Yes | ||
| not_found | Yes | ||
| reference_order | Yes |