get_interactives
List actionable page elements with ready-to-use CSS selectors, labels, positions, and refs for click, type, or hover. Use it to discover selectors without dumping HTML.
Instructions
List actionable elements (buttons, links, inputs, [role], [onclick]) with ready-to-use CSS selector, label, position, flags. Prefer this over dumping HTML to discover selectors. Document order, cut at limit (count equal to limit: there may be more), each with a ref (n1, n2…) for click, type_text and hover.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max elements returned; raise it on a dense page | |
| scope | No | Limit search (CSS selector) | |
| since | No | cursor from the previous list: only added (+), changed (~) and removed elements; same scope, frame and tab | |
| format | No | lines is compact; json adds full attributes per element | lines |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one | |
| frame_id | No | Target iframe id from get_frames; omitted = main frame | |
| visible_only | No | false also lists elements hidden or scrolled out of view |