mouse_click
Perform mouse clicks at specified screen coordinates, choosing left, right, or middle button and single or double click. Useful for automating GUI interactions.
Instructions
Click the mouse at the given coordinates.
Parameters
x: Horizontal pixel coordinate. -1 = click at current cursor position. y: Vertical pixel coordinate. -1 = click at current cursor position. button: Which button: "left", "right", or "middle". clicks: Number of clicks (1 = single, 2 = double).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mouse_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| button | No | left | |
| clicks | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||