# export

> Reference for the export tool of Author: export, with every action and the arguments you can pass.

Source: https://author.geenius.io/docs/reference/export/

The book as Markdown, DOCX (manuscript format), EPUB or a printed book's PDF, with a download link.

Call it as `geenius_author(tool: "export", action: "<action>", args: {...})` through Geenius OS.

## Actions

| Action | What it does |
|---|---|
| `run` | The book as a file (md, docx, epub or pdf) and a download link. Rules: book_id, format: md \| docx (standard manuscript format) \| epub \| pdf (a printed book: trim? 5x8\|6x9, chapter_recto?; Source Serif 4 embedded), version_id? (export a saved version), scene_titles?: the file and a download link. |

## Arguments we have checked

### export · run

The book as a file (md, docx, epub or pdf) and a download link. Rules: book_id, format: md | docx (standard manuscript format) | epub | pdf (a printed book: trim? 5x8|6x9, chapter_recto?; Source Serif 4 embedded), version_id? (export a saved version), scene_titles?: the file and a download link.

- `book_id` (required)
- `chapter_recto`
- `format`
- `scene_titles`
- `trim`
- `version_id`

> [!TIP]
> Ask for the exact arguments of any action with `action: "help", of: "run"`. The server answers from its own definitions, so that answer is always current.

