click_widget
Click a widget by its ID to trigger its action or event. Supports left, right, or middle button and double-click.
Instructions
Click a widget by its ID.
Finds the widget with the given ID and triggers a click action. For buttons, this invokes the button command. For other widgets, this generates a click event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widget_id | Yes | The widget ID from get_ui_layout() | |
| button | No | Mouse button - "left", "right", or "middle" | left |
| double | No | If True, perform a double-click |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |