click
Performs real mouse input on an element scrolled into view and reports resulting overlays, navigation changes, or LCU requests; blocks dangerous writes.
Instructions
Real mouse click (CDP Input) on an element, scrolled into view. Reports what it caused: overlays opened/closed, nav change, LCU requests. Dangerous writes (purchases, loot crafting, reports, invites, chat, real queue, logout) are blocked at the network level.
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": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Viewport x in CSS px (same as screenshot pixels at the default scale). | |
| y | No | Viewport y in CSS px. | |
| nth | No | Pick the nth match (0-based) when several match. | |
| ref | No | Ref from the last `snapshot` (e.g. "e12"). Most reliable. | |
| text | No | Visible text or label of the element (case-insensitive substring). | |
| count | No | 2 for double click. | |
| exact | No | With `text`: require the whole label to match. | |
| force | No | Click even if another element covers the target center. | |
| button | No | ||
| within | No | Selector of a container to search in (e.g. a modal). | |
| selector | No | CSS selector. Searches inside every shadow root; use " >>> " to step into a specific shadow root. |