get_book_text
Retrieve EPUB book text chapter by chapter. Without a chapter number, get the table of contents; with one, get the chapter text starting at an offset, limited by max_chars.
Instructions
Read the text of a book, one chapter at a time.
Without chapter: returns the table of contents (index, title, chars). With chapter: that chapter's text, cut to max_chars from offset; next_offset continues when the chapter is longer. The EPUB is downloaded from the server and parsed on each call; a download larger than the 128 MiB cap is refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| book_id | Yes | ||
| chapter | No | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||