Trusted Hover
trusted_hoverTrigger hover menus, tooltips, and :hover styles by moving a real mouse pointer over an element. Reports whether the browser considers the element hovered.
Instructions
Move a real mouse pointer over an element, so hover menus, tooltips and :hover styles appear. Needs the DevTools engine. Reports hoverApplied, whether the browser now considers the element hovered.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>"
},
"name": "trusted_hover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nth | No | Which match to act on when several exist, 0-based | |
| exact | No | For "text=", "label=" and "placeholder=" selectors, require the whole trimmed text to equal the label. No effect on CSS, ref= or role= selectors. | |
| tab_id | No | Arc tab id from list_tabs. Omit to use this agent's current tab. A tool that changes a tab will not fall back to the tab the user is looking at, so pass this or call open_url first. | |
| selector | Yes | CSS selector, or one of: "text=Some label" (visible text, case-insensitive substring, exact matches ranked first); "ref=e12" (a ref from snapshot, re-resolved if the page re-rendered); "role=button[name="Save"]" (ARIA or implicit role, name an exact match, or name~="sav" for a substring); "label=Email" (the control a label names); "placeholder=Search" |