imgui_click_widget
Simulate a mouse click on any Dear ImGui widget by its ID within a specified window. Select left, right, or middle mouse button to trigger the desired action and test UI interactivity.
Instructions
Simulate a mouse click on a widget by its ID
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": {
"window": "<window>",
"id": "<id>"
},
"name": "imgui_click_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Widget ID to click | |
| button | No | Mouse button (0=left, 1=right, 2=middle) | |
| window | Yes | Window ID containing the widget |