screen_click
Perform mouse clicks at given screen coordinates. Use coordinates from visual object detection to automate clicking on UI elements.
Instructions
鼠标点击(需 VISION_ALLOW_SCREEN_CONTROL=1)。坐标通常来自 locate_object 对截图的定位结果。
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": "screen_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| button | No | 默认 left | |
| double | No | 是否双击,默认 false |