download_pdf
Download and cache a paper's PDF from arXiv, bioRxiv, medRxiv, ACL Anthology, or other sources, then use it as the first step for extracting markdown and sections.
Instructions
Download and cache a paper's PDF (step 1 of the PDF pipeline).
Auto-downloads arXiv, bioRxiv/medRxiv, and ACL Anthology; other DOIs require
allow_oa_url=True (fetches only OpenAlex's OA URL) or import_paper.
A fresh download drops derived markdown/sections (except imported/HTML/JATS
unless force_refresh=True).
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": "<identifier>"
},
"name": "download_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | Paper identifier: arXiv ID, bioRxiv/medRxiv DOI, ACL Anthology ID/URL, DOI, PMID, PMCID (PMC...), or OpenAlex work ID (W...). Pipeline tools also accept freeform import labels. | |
| allow_oa_url | No | For non-native DOIs/PMIDs/work IDs, allow fetching the OA PDF URL OpenAlex reports. | |
| force_refresh | No | Re-download the PDF even if cached (invalidates derived markdown/sections). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||