read_page
Return a page's markdown from the stored crawl output, without any network access. This is the counterpart to get_page: read_page serves the crawled copy that already had the site's content_selector applied, while get_page re-fetches the…
Instructions
Return a page's markdown from the stored crawl output, without any network access. This is the counterpart to get_page: read_page serves the crawled copy that already had the site's content_selector applied, while get_page re-fetches the URL live. Use list_pages to discover URLs, then read_page to read them. Pass a search_docs result's anchor to read only that section. Large pages are truncated at max_bytes; follow next_offset to read the rest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of a crawled page, as reported by list_pages | |
| anchor | No | Heading anchor, as in a search_docs result; returns only that section, subsections included | |
| offset | No | Byte offset into the page content, for reading a truncated page in parts (default: 0) | |
| site_key | Yes | Site key from config (use list_sites to discover available keys) | |
| max_bytes | No | Maximum content bytes to return (default: 102400, max: 1048576; larger values are capped, 0 or less means the default) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| depth | Yes | ||
| title | Yes | ||
| offset | Yes | ||
| source | Yes | ||
| content | Yes | ||
| headings | Yes | ||
| site_key | Yes | ||
| truncated | Yes | More of the page, or of the anchor's section, follows | |
| crawled_at | Yes | ||
| next_offset | No | Pass as offset to read the next part; present only when truncated | |
| section_end | No | Byte offset where the anchor's section ends; present when anchor was given | |
| content_hash | Yes | ||
| total_length | Yes | Bytes of the whole stored page | |
| content_length | Yes | Bytes of content in this response |