Pubmed Format Citations
pubmed_format_citationsFormats PubMed article citations in styles such as APA, MLA, BibTeX, RIS, or Vancouver. Pass PubMed IDs and select one or multiple citation formats to generate.
Instructions
Get formatted citations for PubMed articles in one or more styles (apa, mla, bibtex, ris, vancouver). Pass a single style as a string or multiple as an array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pmids | Yes | PubMed IDs to cite | |
| format | No | Citation format(s) to generate — single style as a string or multiple as an array. Allowed values: apa, mla, bibtex, ris, vancouver. | apa |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | No | Optional guidance when no citations were produced — points to discovery tools. Absent when at least one citation was produced. | |
| citations | Yes | Citations per article | |
| totalFormatted | Yes | Number of PMIDs successfully formatted | |
| totalSubmitted | Yes | Number of PMIDs submitted for citation formatting | |
| unavailablePmids | No | Requested PMIDs that did not return article metadata |