format_citation
Formats PubMed article citations in APA, Vancouver, Harvard, or BibTeX styles and flags retracted publications.
Instructions
Format a citation for a PubMed article in APA, Vancouver, Harvard, or BibTeX style. Flags the article if it has been retracted.
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": {
"pmid": "<pmid>"
},
"name": "format_citation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pmid | Yes | PubMed ID | |
| style | No | Citation style | apa |