get_book_text
Fetch a book's chapter text, or its table of contents if no chapter is selected. Handle long chapters with offset and 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| book_id | Yes | ||
| chapter | No | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||