download_pubmed
Download a PDF of a PubMed paper using its PubMed ID (PMID). Choose save directory.
Instructions
Attempt to download PDF of a PubMed paper.
Args: paper_id: PubMed ID (PMID). save_path: Directory to save the PDF (default: './downloads'). Returns: str: Message indicating that direct PDF download is not supported.
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": {
"paper_id": "<paper_id>"
},
"name": "download_pubmed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paper_id | Yes | ||
| save_path | No | ./downloads |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |