export_chapter_pdf
Export MangaDex chapters to PDF files for offline reading. Converts internal chapters to local PDF format using original or data-saver image quality.
Instructions
Export an internal MangaDex chapter to a local PDF file. External-hosted chapters cannot be exported through MangaDex. After calling, prefer reporting only the saved path unless the user asked for more detail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chapterId | Yes | The MangaDex UUID for the chapter. | |
| quality | No | Whether to export original images or MangaDex data-saver images. | original |
| outputDir | No | Optional output directory, relative to the current project directory unless absolute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exportStatus | Yes | ||
| chapterId | Yes | ||
| mangaTitle | Yes | ||
| chapter | Yes | ||
| title | Yes | ||
| quality | Yes | ||
| outputPath | Yes | ||
| fileName | Yes | ||
| format | Yes | ||
| pageCount | Yes |