Get page structure
get_structureRetrieves page structure—landmark regions, headings, nested lists, and iframes—with shadow-piercing selectors, flagging skipped heading levels and repeated H1s.
Instructions
Reads the page structure: landmark regions, headings, lists (nested) and iframes, each with a shadow-piercing selector. A heading outline grouped by region with skipped-level and repeated-H1 flags is included when both regions and headings are returned. Top frame only, open shadow roots only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Optional subset of categories to return: 'regions' | 'headings' | 'lists' | 'frames'. Defaults to all four. Counts always cover every category. | |
| sessionId | Yes | Session id returned by start_session. Required on every stateful tool call. |