download_paper
Retrieve a paper from arXiv by ID and get its text content. Returns up to 12,000 characters, with options to continue chunks or fetch full text.
Instructions
Download a paper from arXiv and return its text content. Tries the HTML version first for clean extraction; falls back to PDF conversion if HTML is unavailable. Stores the paper locally. Returned text is bounded to roughly 12,000 characters by default so one call cannot return an unbounded paper body. When is_truncated is true, call again with start=next_start (see next_retrieval) to continue, or pass return_full_text=true for the entire remaining paper. Set force=true to re-fetch and overwrite a cached paper (required to replace a newer stored arXiv version with an older one).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | If true, re-download and overwrite the local markdown and metadata sidecar even if the paper is already cached, including when replacing a newer stored arXiv version with an older one. Default false. | |
| start | No | Zero-based character offset for returning large papers in chunks; pass next_start from a prior truncated response to continue | |
| paper_id | Yes | The arXiv ID of the paper to download (e.g. '2103.12345') | |
| max_chars | No | Maximum raw paper characters to return from start; omit for the bounded default (12,000 chars) | |
| return_full_text | No | Set true to opt out of the bounded default and return the entire remaining paper from start in one call |