Pubmed Format Citations
pubmed_format_citationsGenerate formatted citations for PubMed articles in APA, MLA, BibTeX, RIS, or Vancouver by passing PubMed IDs. Supports single or multiple citation styles.
Instructions
Get formatted citations for PubMed articles in one or more formats (apa, mla, bibtex, ris, vancouver). Pass a single format 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 |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Optional guidance when no citations were produced — points to discovery tools. Absent when at least one citation was produced. | |
| citations | No | Citations per article | |
| totalFormatted | No | Number of PMIDs successfully formatted | |
| totalSubmitted | No | Number of PMIDs submitted for citation formatting | |
| unavailablePmids | No | PMIDs PubMed returned no record for, so nothing could be cited for them. That is all this reports: PubMed omits a PMID it does not recognize silently, with no error and no reason, so the absence says nothing about whether the PMID exists. Use `pubmed_search_articles` to find PMIDs that do resolve. |