Get a book cover
get_coverRetrieve a book's cover image by its numeric ID. Returns the image directly; files over 1 MB are refused to protect context—use the coverUrl from the book entry for full-size covers.
Instructions
Fetches the cover of a book and returns it as an image. Book ids come from the other tools (books with id null have no cover). Calibre-Web serves the full-size cover; images over 1 MB are refused to protect the context window — use the coverUrl from the book entry instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | Numeric book id from search_books, list_books or get_shelf_books |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | Size of the decoded image. | |
| bookId | Yes | ||
| mimeType | Yes | Of the image in the content block. |