export_epub
Export an InDesign document to EPUB format, supporting EPUB2 or EPUB3 with options to include images and choose image format.
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 |