get_interactives
Lists actionable elements (buttons, links, inputs) with CSS selectors, labels, positions and refs for click, type or hover. Discover selectors instead of 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. The full list also names the WebMCP tools the page declares, if any.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_interactives"
}
}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 |