hover_with_action
Hover over an element, click a revealed target, or drag-and-drop between selectors. Use for hover menus and drag-and-drop interactions.
Instructions
Hover over an element, optionally click another element, or drag-&-drop.
Use this tool for hover interactions, hover-triggered menus, and drag-and-drop operations.
Args: selector1: The primary element selector.
For action="none", this is the element to hover over.
For action="click", this is the element to hover over before
clicking selector2.
For action="drag_and_drop", this is the draggable source element.
selector2:
The secondary element selector.
Required for action="click", where it identifies the element
revealed or targeted after hovering selector1.
Required for action="drag_and_drop", where it identifies the
destination/drop target.
Not used for action="none".
action:
- "none": Hover over selector1 only.
- "click": Hover over selector1, then click selector2.
- "drag_and_drop": Drag selector1 and drop it onto selector2.Returns: A confirmation describing the performed operation.
Tool selection: - Simple hover -> action="none". - Hover over one element and then click another -> action="click". - Drag one element onto another -> action="drag_and_drop".
Notes: For action="click", selector1 is the hover target and selector2 is the click target.
For action="drag_and_drop", selector1 is the source and selector2
is the destination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | none | |
| selector1 | Yes | ||
| selector2 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |