mouseClick
Click at exact X/Y coordinates in Electron apps to test UI elements when no selector is available. Set button and click count for single or double clicks.
Instructions
Click at specific coordinates (without selector)
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": {
"x": "<x>",
"y": "<y>"
},
"name": "mouseClick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate | |
| y | Yes | Y coordinate | |
| button | No | Mouse button (default: left) | |
| clickCount | No | Number of clicks (default: 1, use 2 for double-click) |