Fetch Pdf
fetch_pdfDownload a PDF and convert it into paginated markdown for reading or extraction, using arXiv paper text when available and direct download otherwise.
Instructions
Download a PDF and convert it to markdown (PyMuPDF 2.x).
Paginated like fetch_page. For arXiv paper PDFs the default route is
alphaxiv.org's extracted text (not subject to arXiv rate limits); the
direct download is used only when alphaxiv doesn't have the paper.
source says which one answered ("alphaxiv" | "direct" | "arxiv-direct").
On failure returns {"success": false, "error": ...}.
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": "fetch_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| offset | No | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||