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.
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": {
"reference": "<reference>"
},
"name": "get_lantern_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | Leaf reference, as returned by `search_lantern` |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||