get_text
Extract readable text from a web page or specific region, paginated by start_index and max_chars, with options to include hidden content and specify location.
Instructions
Extract readable prose from a page or one region of it, paginated by
start_index so a long article is read in bounded pieces rather than
one unbounded dump. Text arrives as labeled data with its origin stated,
and hidden regions are stripped and counted rather than silently dropped
or silently included. Hidden content IS retrievable, deliberately:
include_hidden=true returns it in a separately labeled section with the
hiding technique named per block. There is no silent middle tier,
because display:none is a real injection channel; the labeled route is
the whole design. Prose inside open shadow roots is read, the same as
get_page_view reads it; closed roots are counted and stay unreadable.
Prose inside same-origin iframes is read after the main document, each
frame under a header naming it and its origin, because one page can
now deliver text from several documents and a single origin in the
label would be a claim about only one of them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| location | No | ||
| max_chars | No | ||
| start_index | No | ||
| include_hidden | No |