format_citation
Format a PubMed citation into APA, Vancouver, Harvard, or BibTeX style using a PubMed ID.
Instructions
Format a citation for a PubMed article in APA, Vancouver, Harvard, or BibTeX style.
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 |