click
Simulate a mouse press on desktop GUI targets via coordinates or element selector; defaults to dry-run to preview the target without interacting.
Instructions
Click by coordinates OR by element selector. Default dry_run=true (returns target without clicking).
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": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| hwnd | No | ||
| regex | No | ||
| budget | No | how many times this call may drive the user's pointer (0 = never, the default). Semantic rungs are free; only the pixel rung is paid for | |
| button | No | left | |
| double | No | ||
| method | No | how the click is delivered: auto walks invoke -> message -> pixel and stops at the first rung that works; pixel/foreground ask for the pointer out loud | auto |
| dry_run | No | ||
| control_type | No | ||
| name_contains | No |