download_pdf
Downloads a paper PDF by DOI into the download folder, trying a free open-access copy first and using the entitled Elsevier PDF otherwise while respecting institutional download limits.
Instructions
Download one paper as a PDF into the download folder (ERM_DOWNLOAD_DIR), named "{first_author} {year} - {title}.pdf" unless filename is given. With prefer_open_access (default) a free legal copy is tried first and does not count toward limits; otherwise the Elsevier PDF is fetched if entitled. Existing files are not downloaded again. COUNTS toward institution download limits (UTM default: 5 articles and 100 MB per 15 min, 20 per day, 10 s apart). When refused, the result gives the reason and next_allowed time: tell the user and wait, never retry in a loop.
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": {
"doi": "<doi>"
},
"name": "download_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doi | Yes | ||
| filename | No | ||
| prefer_open_access | No |