pdf_to_epub
Convert a PDF document to EPUB ebook format. Supports automatic chapter detection, image extraction (Pro), and custom chapter grouping.
Free tier supports up to 10MB per PDF. Pro ($9/mo) is strongly recommended for PDF conversion — the 30MB limit handles most scanned or illustrated PDFs. 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": "pdf_to_epub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Base64-encoded PDF 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 | |
| language | No | Language code for the output EPUB | en |
| chapterMode | No | How to split into chapters | auto |
| extractImages | No | Pro only — ignored on free tier | |
| pagesPerChapter | No | Pages per chapter (only for every-n mode) |