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

1.3 KiB
Raw Blame History

name, description, system, handler, tool-name, category
name description system handler tool-name category
desktop-window Window management operations. When you need to list all open windows, switch to a specific window, minimize/maximize/restore windows, or close windows. Use title parameter for targeting specific window (fuzzy match). true desktop desktop_window Desktop

Desktop Window

窗口管理操作。

Parameters

参数 类型 必填 说明
action string 操作类型list/switch/minimize/maximize/restore/close
title string 窗口标题模糊匹配list 操作不需要

Actions

操作 说明 需要 title
list 列出所有窗口
switch 切换到指定窗口(激活并置顶)
minimize 最小化窗口
maximize 最大化窗口
restore 恢复窗口
close 关闭窗口

Examples

列出所有窗口:

{"action": "list"}

切换到记事本:

{"action": "switch", "title": "记事本"}

最大化 Chrome:

{"action": "maximize", "title": "Chrome"}

Returns (list action)

  • 窗口标题
  • 窗口句柄
  • 窗口位置和大小
  • desktop-screenshot: 截取窗口
  • desktop-inspect: 检查窗口结构