Files
X-Agents/account/admin/skills/system/desktop-click/SKILL.md
2026-03-11 16:26:22 +08:00

1.6 KiB
Raw Blame History

name, description, system, handler, tool-name, category
name description system handler tool-name category
desktop-click Click desktop elements or coordinates. When you need to click buttons/icons in applications, select menu items, or interact with desktop UI. Supports element description, name prefix, or coordinates. For browser webpage elements, use browser_click instead. true desktop desktop_click Desktop

Desktop Click

点击桌面上的 UI 元素或指定坐标。

Parameters

参数 类型 必填 说明
target string 元素描述或坐标(如 '确定按钮' 或 '100,200'
button string 鼠标按钮left, right, middle默认 left
double boolean 是否双击,默认 false
method string 查找方法auto, uia, vision默认 auto

Target Formats

  • 元素描述:"保存按钮""name:确定"
  • 坐标:"100,200"

Find Methods

  • auto: 自动选择(推荐)
  • uia: 只用 UIAutomation
  • vision: 只用视觉识别

Examples

点击按钮(元素描述):

{"target": "确定按钮"}

点击坐标:

{"target": "100,200"}

右键点击:

{"target": "文件图标", "button": "right"}

双击打开:

{"target": "文档.txt", "double": true}

Notes

  • 如果点击的是浏览器内的网页元素,请使用 browser_click
  • 优先使用 UIAutomation快速准确失败时用视觉识别
  • browser-click: 点击浏览器网页元素
  • desktop-type: 输入文本
  • desktop-find-element: 先查找元素