export_epub
Exports an InDesign document to EPUB2 or EPUB3, letting you include images, pick image format, and confirm overwrites.
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 |