mouse_click
Clicks a left or right mouse button in the active window, with an optional hold duration, so AI agents can perform mouse actions in games and mouse-controlled apps.
Instructions
Click the mouse ('left' or 'right').
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 |
|---|---|---|---|
| button | No | left | |
| hold_ms | No |