click_element
Clicks any UI element by its element ID, targeting the element directly even when the window is not focused or in the foreground.
Instructions
Click a UI element by its element ID. Targets the element directly — does not require the window to be focused or in the foreground.
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": {
"elementId": "<elementId>"
},
"name": "click_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementId | Yes | Element ID returned by find_element |