get_chapter_text
Retrieve clean, readable text from a climbing book chapter PDF. Specify book and chapter, then adjust character length or start position to get the exact excerpt needed.
Instructions
Get readable text from a chapter - combines extraction and cleaning into one tool
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": {
"book_name": "<book_name>",
"chapter_name": "<chapter_name>"
},
"name": "get_chapter_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Number of characters to return | |
| book_name | Yes | The name of the book directory | |
| start_chars | No | Starting character position (0 for beginning of chapter) | |
| chapter_name | Yes | The filename of the chapter PDF | |
| force_reextract | No | Force re-extraction even if cached version exists |