DOUBLE_CLICK_AT
Double-click at pixel coordinates in the screenshot image.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
x | number | yes | X coordinate in screenshot image space |
y | number | yes | Y coordinate in screenshot image space |
img_w | number | β | Screenshot image width |
img_h | number | β | Screenshot image height |
screen_w | number | β | Real screen width |
screen_h | number | β | Real screen height |
How to use it
You normally trigger this by describing what you want in chat β the agent selects DOUBLE_CLICK_AT automatically. For example:
Try saying
βuse computer control to double β¦β
In a workflow
As a step in a multi-step workflow DAG:
json
{
"id": "s1",
"agent": "computer_control",
"action": "DOUBLE_CLICK_AT",
"args": {
"x": 1,
"y": 1
},
"depends_on": [],
"outputs": []
}Direct call
For scripting, call it directly via POST /execute_tool. Every tool returns { success, message, data }.
bash
curl -X POST http://127.0.0.1:8000/execute_tool \
-H "Content-Type: application/json" \
-d '{"tool_name":"DOUBLE_CLICK_AT","args":{"x":1,"y":1}}'Part of the computer_control plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.