Read book text
calibre_get_contentExtract a book's text as excerpts. Walk the full book via cursor tokens or jump to a specific character position. Retrieve a chapter map for structure.
Instructions
Extract a book's text as a capped, fenced excerpt; pass the returned nextCursor token verbatim to walk the whole book, or jump to a char position with offset (e.g. a search passage's charStart). Set structure=true for a chapter map with per-chapter cursors. To find text inside a book, use calibre_search scope=book.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| bookId | No | ||
| cursor | No | Opaque continuation token from a previous response (nextCursor or a chapter cursor). Pass it verbatim — do not construct one. | |
| format | No | ||
| offset | No | Char position to start reading from — e.g. a search passage's charStart. Mutually exclusive with cursor. | |
| library | No | ||
| maxChars | No | ||
| structure | No | ||
| sentenceAware | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| count | No | ||
| format | No | ||
| hasToc | No | ||
| offset | No | ||
| backend | No | ||
| hasMore | No | ||
| chapters | No | ||
| detector | No | ||
| nextCursor | No | ||
| totalChars | No |