download_paper_pdf
Download academic paper PDFs to a local directory using a DOI, arXiv ID, or direct URL. Resolves open-access copies for paywalled DOIs and returns an EZproxy link when access is restricted.
Instructions
Download an academic paper PDF to a local directory for reading/inspection.
Accepts a DOI (e.g. '10.1371/journal.pone.0000001'), arXiv ID (e.g. '1706.03762'), or direct PDF URL. Uses Unpaywall, OpenAlex, and Europe PMC to resolve open-access PDFs for paywalled DOIs. If the paper is strictly paywalled, returns the institutional EZproxy UNS URL for authenticated campus access.
Args: identifier_or_url: Paper DOI (e.g. '10.1016/j...'), arXiv ID (e.g. '1706.03762'), or direct PDF URL. save_directory: Local directory where the PDF should be saved (default: './downloads'). custom_filename: Optional custom file name (e.g. 'paper_attention.pdf').
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": {
"identifier_or_url": "<identifier_or_url>"
},
"name": "download_paper_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_directory | No | ./downloads | |
| custom_filename | No | ||
| identifier_or_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |