Read a newspaper page
get_page_textRead the full OCR text of a Library of Congress newspaper page, including citation and scan/PDF links; continue long pages with offset.
Instructions
Read the full OCR text of one newspaper page, with a citation and links to the scan and PDF.
Long pages are returned in chunks: if `truncated` is true, call again with
`offset` set to `next_offset`.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Character offset to start reading from, for long pages. | |
| page_url | Yes | A loc.gov page link from search results, e.g. https://www.loc.gov/resource/sn83030214/1912-04-16/ed-1/?sp=1 | |
| max_chars | No | Maximum characters of text to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||