Read page as Markdown
page_readExtracts a page's readable content as Markdown, including headings, lists, links, tables, and code, or reads a single element by CSS selector or ref. Paginate long output with offset and maxChars.
Instructions
Returns the readable content of the page (or of one element) as Markdown: headings, paragraphs, lists, links, tables, code. Long content is paginated with offset/maxChars.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "page_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from page_snapshot or find, e.g. "e12". | |
| tabId | No | Tab to act on. Defaults to the session target tab (see tab_select). | |
| offset | No | Character offset to start from (for pagination). | |
| mainOnly | No | Prefer the <main>/<article> region when present (default true). | |
| maxChars | No | Maximum characters to return (default 20000). | |
| selector | No | CSS selector of the element to read instead of the whole page. | |
| includeImages | No | Include images as  (default false). |