get_pdf_text
Downloads an arXiv paper's PDF and extracts text from its first pages when the abstract is insufficient, with configurable page limits.
Instructions
Download a paper's PDF and extract text from its first pages.
Slow and bandwidth-heavy - use only when the abstract is insufficient.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arxiv_id | Yes | arXiv identifier, e.g. '2401.12345'. | |
| max_pages | No | How many pages to parse. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Extracted text, pages joined by form feeds. | |
| arxiv_id | Yes | ||
| truncated | Yes | True when the PDF was longer than max_pages. | |
| page_count | Yes | Pages in the downloaded PDF. | |
| extracted_pages | Yes | Pages that were actually parsed. |