read_book
Retrieve a page of plain text from a Calibre library ebook by book ID and character offset, with pagination info for sequential reading.
Instructions
Read a page of a book's plain text, converted on demand by calibre.
The first call converts the book (a copy in a cache directory — the
library is never modified); later calls reuse the cache. Returns the
chunk plus next_offset for paging and total_chars for context.
Args: book_id: The book's id (find it with search_books). offset: Character offset to start reading from (0 = beginning). limit: Maximum characters to return (1-40000, default 12000).
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_id": "<book_id>"
},
"name": "read_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| book_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||