Export Project To File
export_projectExport a Scrivener project to Markdown, HTML, JSON, or EPUB file on disk, returning the output path and a summary for delivery.
Instructions
Export the whole project to a file on disk in a publishing/interchange format (Markdown, HTML, JSON, or EPUB) and return the output path and a summary. Use this to produce a deliverable file; use compile_documents when you want the compiled text back in the response rather than written to disk. Requires an open project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Target file format to export to. | |
| options | No | Optional format-specific export options (e.g. metadata, styling). | |
| outputPath | No | Absolute or project-relative path to write the exported file. Omit to use a default location. |