Click an element
click_ui_elementClicks a UI element by ID and brings its app to the front. Use it for double-clicks or right-clicks when pressing an element does not work.
Instructions
Click an element's middle with the mouse, bringing its app to the front: for a double-click, a right click, or an element press_ui_element doesn't work on.
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_ui_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The element's id, from get_ui_elements, find_ui_elements or another tool of these that returned it. | |
| count | No | 2 double-clicks: opens a file in a list. | |
| button | No | 'right' opens a context menu. | left |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |