read_tab
Read a browser tab's content as markdown, text, or HTML, optionally limiting to a specific element and character budget for focused, cost-efficient extraction.
Instructions
Read a tab's content, converted to markdown and capped in size.
Args: tab_id: Exact tab id from list_tabs. Prefer url_pattern. url_pattern: Regex matched against tab URLs. mode: 'readable' (markdown, boilerplate stripped), 'text', or 'html'. selector: Read only this element's subtree. Use it — it is the cheapest way to keep a read small and on-topic. max_chars: Character budget. Defaults to the server's --max-chars. include_links: Keep links as markdown in 'readable' mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | readable | |
| tab_id | No | ||
| selector | No | ||
| max_chars | No | ||
| url_pattern | No | ||
| include_links | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |