MouseClick
CUTools
Description
Simulate mouse clicks at any screen position! Automate click interactions with applications, run UI tests, or control programs remotely - MouseClick enables precise mouse interactions programmatically.
With support for different click types (left, right, double), button states (press, release), and optional coordinates, you can control any Windows application - without API access, simply via GUI automation!
Why This Tool Stands Out
- Pixel-Perfect Control at any point
- All Click Types supported
- Instant Execution without delay
- UI Automation without code
Perfect for:
QA testers, automation developers, power users, and support staff who want to automate repetitive click tasks. Ideal for UI testing, workflow automation, and remote control of applications.
Workflow support; time savings depend on the task
Instead of manually clicking through menus and confirming dialogs, you automate entire workflows with a script - reproducible and error-free.
JSON Parameters
- x OPTIONAL (Integer)X coordinate for the click. If omitted, the current cursor position is used.
- y OPTIONAL (Integer)Y coordinate for the click. If omitted, the current cursor position is used.
- button OPTIONAL (String)The mouse button to click. Possible values: "left", "right", "middle". Default: "left"
- clickType OPTIONAL (String)The click type. Possible values: "click", "doubleClick", "down", "up". Default: "click"
Example Call
{
"tool": "MouseClick",
"params": {
"x": 500,
"y": 300,
"button": "left",
"clickType": "click"
}
}
Example Usage
AI Command
- "Click the Save button at coordinates 500,300"
The AI assistant automatically recognizes that the MouseClick tool should be used and passes the appropriate coordinates.
Related Tools
Return Values
The tool returns an object with the following properties:
- success (Boolean)
True if the click was simulated successfully - x (Integer)
Actual X coordinate of the click - y (Integer)
Actual Y coordinate of the click - button (String)
Mouse button used - clickType (String)
Click type performed - error (String, optional)
Error message if the simulation failed
Download CUTools Now for Free
Experience the power of AI-driven computer control. Compatible with Windows 10/11.
Download for Free