download_paper
Retrieve academic papers by source and identifier, automatically falling back to open access repositories, Unpaywall, and Sci-Hub for successful download.
Instructions
Try source-native download, OA repositories, Unpaywall, then optional Sci-Hub.
Args: source: Source name (arxiv, medrxiv, semantic, crossref, pubmed, pmc, dblp, openalex). paper_id: Source-native paper identifier. doi: Optional DOI used for repository/unpaywall/Sci-Hub fallback. title: Optional title used for repository/Sci-Hub fallback when DOI is unavailable. save_path: Directory to save downloaded files. use_scihub: Whether to fallback to Sci-Hub after OA attempts fail. scihub_base_url: Sci-Hub mirror URL for fallback. Returns: Download path on success or explanatory error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doi | No | ||
| title | No | ||
| source | Yes | ||
| paper_id | Yes | ||
| save_path | No | ||
| use_scihub | No | ||
| scihub_base_url | No | https://sci-hub.se |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |