click
Triggers a browser element action by element reference or viewport coordinates to automate Firefox interactions, with button, modifier, and repeat options.
Instructions
Click an element by ref or by viewport coordinate.
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": {
"tabId": "<tabId>"
},
"name": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element reference from read_page or find, e.g. "e12" | |
| count | No | 2 for double click | |
| tabId | Yes | Tab ID, from tabs_list or tab_create | |
| button | No | ||
| modifiers | No | e.g. "ctrl", "shift", "ctrl+shift" | |
| coordinate | No | [x, y] in viewport CSS pixels, as seen in a screenshot |