read_page
Read a page as text, markdown, HTML, or accessibility tree. Pick the format that fits the task—markdown preserves headings and links at lower token cost than full HTML.
Instructions
Read the page as text (default), markdown, raw HTML, or accessibility tree. Read-only. markdown keeps headings, links and tables at a fraction of the HTML cost, and is usually the right middle ground. Expensive on large pages: HTML on a big table costs tens of thousands of tokens for data you then filter anyway — prefer extract_table or extract for tabular and repeated content, and get_interactives to find click targets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | text strips markup, markdown keeps headings/links/tables far cheaper than html, accessibility returns the a11y tree | text |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one | |
| save_to | No | Absolute path: write the page there and return the path instead of the content | |
| frame_id | No | Target iframe id from get_frames; omitted = main frame | |
| max_length | No | Max output chars |