validate_epub
Validate an EPUB file for errors, compatibility issues, and spec compliance. Returns JSON with check results. Can optionally auto-fix common issues.
Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding. Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding.
When a call is refused with daily_limited or a Pro-only error, call the upgrade_to_pro tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
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": {
"file": "<file>"
},
"name": "validate_epub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Base64-encoded EPUB file content | |
| autoFix | No | Auto-fix common issues and return repaired EPUB | |
| deepScan | No | Perform deep scan (XHTML well-formedness, broken links, etc.) |