click_element
Click an element on a page by specifying its CSS selector. Provide an index to choose among multiple matches and a connection ID to target a specific Chrome instance.
Instructions
Click an element matching the CSS selector.
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": {
"selector": "<selector>"
},
"name": "click_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Which matching element to click (0 = first) | |
| selector | Yes | CSS selector for the element | |
| connection_id | No | Chrome connection to use |