export_epub
Convert an InDesign document to an EPUB file, with options for version, image format, and image inclusion. Specify the output path and confirm overwrites to generate the EPUB.
Instructions
Export document as EPUB
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": {
"filePath": "<filePath>"
},
"name": "export_epub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | EPUB3 | |
| filePath | Yes | Output EPUB file path | |
| imageFormat | No | PNG | |
| includeImages | No | Include images | |
| confirmDestructive | No | REQUIRED: Confirm file overwrite |