convert_book
Converts a book to a different format and adds it to the existing library entry, enabling Kindle-compatible AZW3 generation.
Instructions
Converts a book to another format and ADDS that format to the same library book (does not create a new book). Ideal for generating AZW3 for Kindle. If you don't pass source_format, it picks the best available (epub > azw3 > mobi > fb2 > pdf).
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": "convert_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | ||
| to_format | No | Target format (azw3, epub, mobi, pdf...). Default azw3. | |
| source_format | No | Source format to use (optional). |