Format a works cited list
format_bibliographyBuilds a complete APA 7, MLA 9, Chicago, Harvard or IEEE works cited list from sources, DOIs, ISBNs or URLs, alphabetised by author or numbered by citation order.
Instructions
Format several sources at once as one works cited list, alphabetised by the first author's family name in APA 7, MLA 9 or Chicago author date, or numbered in citation order in IEEE. 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 or ieee). 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."
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 and ieee. | 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. |