get_paper_markdown
Read a paginated slice of a converted paper’s full Markdown to access the whole document in one call, with offsets and token counts for paging.
Instructions
Read a slice of a converted paper's full markdown document.
Alternative to get_paper_section when you want the whole paper in one call
rather than reading section-by-section (check total_approx_tokens from
convert_paper or get_paper_sections first; for long papers or targeted
lookup, prefer find_in_paper and get_paper_section).
Returns: {content, offset, chars_returned, total_chars, approx_tokens, has_more, next_offset}. total_chars and approx_tokens describe
the full markdown document, not the slice.
Errors: not yet converted → guidance to run convert_paper. Offset beyond
document length → {error}. Markdown with no readable text →
{error, suggestion, retryable: False}.
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": {
"identifier": "<identifier>"
},
"name": "get_paper_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Start character offset (pass next_offset to page). | |
| max_chars | No | Max characters to return (~4 chars/token). | |
| identifier | Yes | Paper identifier: arXiv ID, bioRxiv/medRxiv DOI, ACL Anthology ID/URL, DOI, PMID, PMCID (PMC...), or OpenAlex work ID (W...). Pipeline tools also accept freeform import labels. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||