Download a paper PDF or file through the local bridge
web_downloadDownload a single article PDF or file via browser session, including bot-blocked open-access and institutional-access articles. Accepts a URL, landing page, or DOI; verifies PDFs and saves to disk.
Instructions
Download one article PDF (or another file) using the user's machine and bridge Chrome session, including open-access PDFs that block bots and articles the user can access through their institution. Accepts a direct file URL, an article landing page or a DOI; finds citation_pdf_url or the PDF link itself and verifies the file really is a PDF. One article per call, only articles the user actually needs: publisher licences forbid bulk downloading, and there is an hourly cap. Never use for pirate libraries. Saves to the default download folder (see web_status) unless dir is given.
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": {
"url": "<url>"
},
"name": "web_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | absolute target folder (default: WEB_BRIDGE_DOWNLOAD_DIR or ~/Downloads/web-bridge) | |
| url | Yes | PDF URL, article landing page URL, or DOI | |
| expect | No | pdf (default, verified) or any file type | |
| filename | No | file name; default is derived from the DOI or title |