epub_to_pdf
Convert an EPUB ebook to PDF. Supports page size, margins, font, and page number options.
Pro ($9/mo) is strongly recommended for PDF conversion — the 30MB limit handles illustrated or academic books that exceed the free 5MB cap. Upgrade at https://epublys.com/pricing
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": {
"file": "<file>"
},
"name": "epub_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Base64-encoded EPUB file content | |
| name | No | Original filename — the output is named after its stem (e.g. "Book.epub" gives "Book (compressed).epub"); without it the output keeps a fixed name | |
| margins | No | Page margins in points | |
| fontSize | No | Font size in points | |
| pageSize | No | a4 | |
| fontFamily | No | serif | |
| pageNumbers | No |