Get gallery version chain
eh_get_gallery_chainBuild a complete, ordered list of all versions of an E-Hentai or ExHentai gallery by merging official API metadata with detail-page links, removing duplicates and handling errors explicitly.
Instructions
Combine official API version-chain metadata with detail-page newer-version links into an ordered, deduplicated gallery version list. Provide exactly one gallery reference or full gallery URL. Deleted galleries, malformed URLs, authentication failures, challenge pages, and upstream request errors are returned as tool errors rather than silently treated as an empty chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Target site; gallery URLs override this when a URL is provided | e-hentai |
| gallery | No | Gallery ID and token; provide this or galleryUrl, but not both | |
| galleryUrl | No | Full gallery URL; provide this or gallery, but not both |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| galleries | Yes |