export_epub
Export an InDesign document as an EPUB file. Specify the output path, select EPUB version (2 or 3), and control image format and inclusion.
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 |