get_page_map
Get a complete semantic map of a web page's interactive elements, landmarks, and headings in one call. Each element includes ARIA role, accessible name, state, and CSS selector for quick orientation.
Instructions
Semantic page map in ONE call: every interactive element (links, buttons, inputs, custom controls) plus landmarks and headings, in document order — each with its ARIA role, accessible name, live state (disabled/checked/expanded/value), and a ready-to-use CSS selector. The fastest way to answer 'what can I do on this page?' — use it to orient before clicking instead of multiple get_page_elements calls. Interactive elements with no accessible name are flagged unnamed (an accessibility finding in itself). Output is compact: only truthy state fields, capped at max_nodes with an explicit truncated flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_nodes | No | Max nodes to return (default: 150); 'total' reports how many exist | |
| session_id | Yes | Session ID | |
| include_hidden | No | Include invisible elements, flagged hidden (default: false) |