Skip to main content
在使用 Get Active App Context 识别目标后,用此工具执行具体的 UI 交互。
多步骤 UI 工作请优先使用 Computer Use 智能体(computer_use_task),它会自动调用 performperform_sequence

支持的操作

  • click: 点击目标元素(默认)。
  • fill: 向由 elementID 标识的字段输入文本。
  • type: 向当前焦点输入按键,无需 elementID(如计算器)。
  • shortcut: 发送快捷键(如 cmd+c)。

输入

  • action (可选): click, fill, type, or shortcut (默认 click).
  • elementID (必填( click and fill): 来自 Get Active App Context 的元素 ID。
  • text (必填( fill and type): 要插入的值或按键。
  • shortcut (必填( shortcut): 快捷键字符串。
  • windowID (可选): 特定窗口(pid/title)。

说明

  • elementID 会随 UI 变化失效。
  • 后台操作各步骤使用相同 windowID

另见