get_page
Fetch an HTML page live over the network and return its content as markdown. This is an on-demand fetch independent of any crawl: it does not read the stored crawl output, and it ignores the site's configured content_selector and scope.
Instructions
Fetch an HTML page live over the network and return its content as markdown. This is an on-demand fetch independent of any crawl: it does not read the stored crawl output, and it ignores the site's configured content_selector and scope. Large pages are truncated at max_bytes; follow next_offset to read the rest (each call fetches the page again).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to fetch | |
| offset | No | Byte offset into the page content, for reading a truncated page in parts (default: 0) | |
| max_bytes | No | Maximum content bytes to return (default: 102400, max: 1048576; larger values are capped, 0 or less means the default) | |
| content_selector | No | CSS selector for main content (defaults to 'body') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| title | Yes | ||
| offset | Yes | ||
| content | Yes | Page content converted to markdown | |
| truncated | Yes | ||
| next_offset | No | Pass as offset to read the next part; present only when truncated | |
| total_length | Yes | Bytes of the whole converted page | |
| fetch_time_ms | Yes | ||
| content_length | Yes | Bytes of content in this response |