read
Extracts only the passages from a browser tab that answer your question, returning relevant sections in page order to reduce context use. Use it for page content and snapshots for structure.
Instructions
Read only the parts of the session's active tab that help answer a question, instead of the whole page: the page's visible text (an open dialog's, when one is showing) is split into passages of about 600 characters under their headings, the Jev decision model rates each one's relevance in parallel requests, and the relevant ones come back in page order under ## heading lines, up to maxChars. A long article shrinks to the few sections that matter, saving the agent's context; a page under 8,000 characters comes back whole without asking Jev. Use take_snapshot for the page's structure and controls, and read for its content. Needs TYPESAFE_API_KEY; any Jev problem is an error. It reads the page without changing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxChars | No | Most characters of passages to return, the most relevant first if they don't all fit. Default 12000. | |
| question | Yes | What you want to know from the page, e.g. "When and why did Japan surrender?" or "the refund policy". | |
| sessionId | Yes | The id returned by open_browser_session. Errors if no open session has it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| kept | Yes | Passages returned. | |
| text | Yes | The passages kept, in page order, under their headings as `## ` lines; empty when nothing looked relevant. | |
| title | Yes | ||
| filtered | Yes | False when the page was short enough to return whole, without Jev. | |
| passages | Yes | Passages the page was split into. | |
| pageChars | Yes | Visible characters on the page. |