Read arXiv paper text
arxiv_fetch_paper_textExtracts readable text from an arXiv paper by using its HTML version or PDF, falling back to abstract and metadata. Reads long papers in paged chunks via character offsets.
Instructions
Fetch the readable text content of an arXiv paper.
First tries the HTML version of the paper (available for most papers submitted after ~2023 with LaTeX source). Without one, the text is extracted from the PDF instead. Only if neither works does it return the full abstract and metadata.
Use arxiv_get_paper first to find the paper ID, then call this tool to read the paper's content.
Args: params (FetchPaperTextInput): - paper_id (str): arXiv paper ID, e.g. '2303.08774'; add a version suffix ('2303.08774v1') to read that version instead of the latest - offset (int): Character offset to start from (default 0) - response_format (str): markdown | json
Returns: str: One page of extracted paper text (about 10,000 characters) or the full abstract with links when no text can be extracted. Long papers span several pages: when more text remains, the response reports the next offset; call again with that offset to continue.
JSON schema when response_format='json' (text available):
{ "id", "source", "format" ("html" | "pdf"), "total_chars", "offset", "count", "has_more",
"next_offset", "text" }
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": {
"params": "<params>"
},
"name": "arxiv_fetch_paper_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |