read_chapter
Retrieve a selected chapter's text from a large PDF by index. Automatically truncates content to fit Claude Code's context limits, enabling structured reading of large documents.
Instructions
Read the text content of a specific chapter by its index (from list_chapters). Automatically truncates to stay within Claude Code's context limits.
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": {
"file_path": "<file_path>",
"chapter_index": "<chapter_index>"
},
"name": "read_chapter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Max TOC depth level (must match the level used in list_chapters) | |
| file_path | Yes | Absolute path to the PDF file | |
| chapter_index | Yes | Chapter index from list_chapters output |