悬停页面元素
hoverFinds an element by CSS selector, scrolls it into view, and dispatches mouseover/mouseenter events to reveal hover-dependent UI like menus and tooltips.
Instructions
通过 CSS 选择器找到元素并派发 mouseover / mouseenter(可触发菜单、tooltip 等悬停行为),会先 scrollIntoView。
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": "hover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | 操作说明:展示给页面用户的自然语言描述(用户会在页面气泡的操作记录里看到),用用户的语言填写,建议始终提供 | |
| pageId | No | 目标页面 id(单页时可省略) | |
| selector | Yes | CSS 选择器 |