Format a citation
format_citationFormat a paper’s reference in APA, MLA, Chicago, Harvard, IEEE, or BibTeX from its DOI or OpenAlex ID; missing fields are omitted rather than invented.
Instructions
Returns a ready to paste reference for one paper in APA, MLA, Chicago, Harvard, IEEE or BibTeX, built from the OpenAlex record. Parts the record does not have, such as authors or a venue, are left out instead of invented, so check the result against the paper before you hand it in. A wrong or unknown reference returns a not found error that suggests searching by title or checking the DOI format. Inputs: paper (required, a DOI like 10.1038/nature14539, a doi.org link, or an OpenAlex id like W2741809807), style (required, apa, mla, chicago, harvard, ieee or bibtex). Example prompt: 'give me an APA citation for DOI 10.1038/nature14539.'
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": {
"paper": "<paper>",
"style": "<style>"
},
"name": "format_citation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paper | Yes | A DOI like 10.1038/nature14539, a doi.org link, or an OpenAlex id like W2741809807. | |
| style | Yes | The citation style: apa, mla, chicago, harvard, ieee or bibtex. |