desktop_click
Click at coordinates on your desktop, then return screenshot + elements.
Use desktop_screenshot first to find element coordinates, then click using the center coordinates from the elements array.
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": {
"vm_name": "<vm_name>",
"x": "<x>",
"y": "<y>"
},
"name": "desktop_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate to click (from element's center[0]) | |
| y | Yes | Y coordinate to click (from element's center[1]) | |
| button | No | Mouse button: 0=left (default), 2=right | |
| double | No | Double-click instead of single click | |
| api_key | No | MCP API key | |
| vm_name | Yes | VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. | |
| include_perf | No | Include per-stage timing metrics in the response. | |
| response_mode | No | Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only). | full |
| session_token | No | Session token | |
| screenshot_delay | No | Seconds to wait after clicking before taking screenshot (default: 0.15). Increase for actions that trigger animations or dropdowns. |