click
Presses Firefox page elements by element ref or screenshot x/y coordinates, with optional tab targeting and left, right, or double mouse buttons.
Instructions
Click an element by ref, or at x/y (CSS pixels from screenshot).
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 | ||
| y | No | ||
| ref | No | Element ref (ref_N) from read_page or find. | |
| tabId | No | Tab to act on. Omit for the active tab. | |
| button | No |