click_element
Clicks the element identified by an ID from get_dom_tree, then returns the refreshed page state and whether navigation likely occurred. Use it to interact with web pages through the DOM.
Instructions
Performs a real click (focus + click) on the element that get_dom_tree numbered with the given id. Returns the refreshed page state and whether a navigation may have happened.
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": {
"id": "<id>"
},
"name": "click_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The numeric element id returned by get_dom_tree. | |
| clientId | No | Optional target page. |