Format a works cited list
format_bibliographyCompile multiple sources into one alphabetized works cited list or BibTeX/RIS block across APA 7, MLA 9, Chicago, Harvard and IEEE, with optional DOI, ISBN and URL lookups.
Instructions
Format several sources at once as one works cited list, alphabetised by the first author's family name in APA 7, MLA 9, Chicago author date or Harvard, numbered in citation order in IEEE, or as one BibTeX block or one RIS block in the order you give the sources. A source with no author is alphabetised by its title. Inputs: sources (an array of objects, each with the same fields as format_citation: type, title and optional authors, year, container, publisher, city, edition, editors, translators, volume, issue, pages, doi, url, date_text, accessed, institution, degree, repository and report_number), dois (a list of DOIs to look up on Crossref), isbns (a list of ISBNs to look up on Open Library), urls (a list of web addresses to fetch and cite as websites) and style (apa7, mla9, chicago-ad, harvard, ieee, bibtex or ris). Give sources, dois, isbns, urls or any mix, up to 50 lookups in one call. If one lookup fails the reply is an error that names it. Example prompt: "Put these three sources into an APA works cited list: a journal article by Smith and Jones from 2020, a book by Cormen from 2009 and a website from example.edu."
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "format_bibliography"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dois | No | DOIs to look up on Crossref and add to the list, each one a DOI like 10.1038/nature14539 or a doi.org link. | |
| urls | No | Web addresses to fetch and add to the list as websites. Each one a full URL like https://example.edu/study. | |
| isbns | No | ISBNs to look up on Open Library and add to the list as books. Dashes are fine. | |
| style | No | Citation style. Aliases such as APA, MLA 9 and Chicago are accepted. Valid styles: apa7, mla9, chicago-ad (Chicago author date), harvard, ieee, bibtex and ris (a .ris record for Zotero, EndNote and Mendeley). | apa7 |
| sources | No | The sources for the list. Each one takes the same fields as format_citation, so a journal article, a book, a website, a chapter, a thesis, a report, a dataset and a preprint can share one list. Optional when you give dois, isbns or urls. |