Check an EPUB file with EPUBCheck
check_epubCheck an EPUB file (EPUB 2 or 3) against the EPUB specifications with EPUBCheck, the W3C's conformance checker.
Input: epub_base64 is the base64 of the EPUB, at most 4 MB decoded, or
pass the file as a download link in file.
Returns summary (valid, and the fatal, error and warning
counts; valid is true when there is no FATAL and no ERROR message),
messages (the 20 most severe, FATAL first, each with severity, id,
message, up to three locations as path:line:column, and a
suggestion when EPUBCheck has one), messages_total and
epubcheck_version. For the full report, or files up to 25 MB, use the
REST API (POST /v1/epubcheck/check).
Credits: 2 per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | The file as a download link, instead of `epub_base64`. In ChatGPT, pass the user's uploaded file here. Other clients can set `download_url` to a public https URL. | |
| epub_base64 | No | The EPUB file, base64-encoded. At most 4 MB decoded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||