build_book
Generates a Kindle EPUB, print interior PDF, full-wrap cover PDF, and KDP upload checklist from a Markdown manuscript and cover image.
Instructions
Build a Kindle EPUB, print interior PDF, full-wrap cover PDF and KDP upload checklist.
manuscript_dir: folder containing book.json and Markdown chapters. cover_image: path to the front cover image (PNG/JPG). trim: one of 5x8, 5.5x8.5, 6x9, 8.5x11. paper: white or cream. Returns {"ok": true, ...checklist} or {"ok": false, "error": "what to fix"}.
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": {
"manuscript_dir": "<manuscript_dir>",
"cover_image": "<cover_image>"
},
"name": "build_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trim | No | 5.5x8.5 | |
| paper | No | white | |
| out_dir | No | out | |
| keywords | No | ||
| back_text | No | ||
| cover_image | Yes | ||
| manuscript_dir | Yes |