get_lantern_text
Retrieve full OCR text for any leaf, returning a cached file path for reading or grepping the entire page when search excerpts are insufficient.
Instructions
Download one leaf's OCR text, returning the path to the cached file.
Use only when the search excerpt is not enough and the whole page has to be read or grepped. This is expensive per volume: the Internet Archive serves OCR per volume rather than per page, so the first leaf of a volume costs an 8-25 MB download and every later leaf of that volume is then free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | Leaf reference, as returned by `search_lantern` |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||