Get Page View
get_page_viewReads a webpage as an orientation, not a transcript, under a token budget. Returns landmarks, interactive elements, forms, tables, digest, and what to expand next.
Instructions
Read a page as an ORIENTATION, not a transcript, under a token budget
it never exceeds whatever the page size. Returns identity, landmark
regions each priced with the cost to expand it, the interactive surface
with refs you can act on, a digest or app skeleton, form and table
inventories, an account of what was NOT read and why, and the next call
for anything unexpanded. location scopes to one region ref,
budget_tokens=2500 suits a subagent, mode='links' includes in-prose
links at their real cost. since=<read_token> is the cheap repeat
read: only what changed, refs kept, a few hundred tokens instead of a
fresh read, and it falls back to a full read when the page navigated in
between and nothing survives to diff. Open shadow roots are read and
their contents get refs you can act on; closed roots cannot be reached
by any tool and are counted at creation, so the completeness block
reports both numbers rather than one confident zero. Same-origin
iframes are entered and read, and their contents get refs naming the
frame they came from; a cross-origin frame is never entered, because
its document belongs to an origin the page itself cannot read either,
and the completeness block counts every frame it did not open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| page | Yes | ||
| view | No | auto | |
| since | No | ||
| detail | No | standard | |
| location | No | ||
| budget_tokens | No |