click
Simulate a real mouse press on a page element, scrolling it into view first; target it by ref, CSS selector, or visible text.
Instructions
Click an element with a real mouse click (scrolls it into view first). Target by ref, selector, or element text.
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 |
|---|---|---|---|
| ref | No | Element ref from snapshot/find, e.g. "e12" (preferred). | |
| tabId | No | Tab ID from tabs_list. Omit for the active tab. | |
| button | No | ||
| double | No | Double-click. | |
| element | No | Visible text or label of the element, e.g. "Sign in" (fallback). | |
| profile | No | Chrome profile: folder ("Profile 3"), nickname, or unique display name. Omit to use the current profile. | |
| selector | No | CSS selector (fallback). | |
| modifiers | No |