get_page_map
Get a complete page map of every interactive element, landmark, and heading with ARIA roles, accessible names, and states in a single call. Orient before clicking without multiple queries.
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) |