get_paper_section
Retrieve a paginated slice of a paper section's body after PDF conversion, using offset and max_chars to page through the content.
Instructions
Read a slice of a section's body. Final step of the PDF pipeline.
Returns: {index, title, content, offset, chars_returned, total_chars, approx_tokens, has_more, next_offset}. total_chars and
approx_tokens describe the full section, not the slice.
Errors: not yet converted → guidance to run convert_paper. Unknown or
ambiguous section title → error listing the available titles; an
out-of-range index → the valid range. 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>",
"section": "<section>"
},
"name": "get_paper_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Start character offset (pass next_offset to page). | |
| section | Yes | Integer index (e.g. '0') or case-insensitive title substring (e.g. 'Introduction'). Diacritics are ignored when nothing matches exactly, so 'Resume' finds 'Résumé'. Call get_paper_sections to see the available sections. | |
| 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 | |||