Read the text of one node
browser_textRead visible text from a single web page node in bounded slices, using a continuation token to retrieve the next chunk of long content.
Instructions
Read visible text of ONE node or section by id, with a bounded character budget (maxChars defaults to 600, maximum 12000). Returns text, textSource, capturedAt (first-read timestamp), totalChars, returnedChars, offset, nextOffset, truncated, observationId and continuation in structuredContent. Pass a non-null continuation directly to browser_text for the next slice; it includes sessionId. offset > 0 requires observationId from the initial read. The first read freezes redacted text at capturedAt (not at observation time) so later slices cannot splice a changing document; re-observe and re-find to refresh it. Snapshot storage is bounded per observation (1000000 UTF-16 units / 128 nodes); exceeding it returns an explicit error. Continuations fail on expired observations, detached ids, navigation or privacy-policy changes. Offsets count JavaScript UTF-16 code units. A cut value must be continued, not recorded as complete; the prose also marks truncation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| offset | No | Integer start offset; default 0. Positive offsets require observationId and an initial read. | |
| maxChars | No | Integer characters per slice, 1–12000; default 600. | |
| sessionId | No | optional: the session this call belongs to (from browser_session_open). Omitted uses the shared default session. | |
| observationId | No | Observation owning the initial text read; required when offset > 0. |