← Back to registry

TOOL · desktop_click

No description provided.

Canonical Definition

{
  "function": {
    "description": "Emits a hardware-level mouse click at the specified (x, y) coordinates on the screen.",
    "name": "desktop_click",
    "parameters": {
      "properties": {
        "button": {
          "description": "The mouse button to click: 'left', 'right', or 'middle'.",
          "enum": [
            "left",
            "right",
            "middle"
          ],
          "type": "string"
        },
        "x": {
          "description": "The absolute X coordinate to move the mouse cursor to.",
          "type": "integer"
        },
        "y": {
          "description": "The absolute Y coordinate to move the mouse cursor to.",
          "type": "integer"
        }
      },
      "required": [
        "x",
        "y"
      ],
      "type": "object"
    }
  },
  "metadata": {
    "consumers": [
      "all"
    ],
    "version": "1.0.0"
  },
  "type": "function"
}