AgentSkillsCN

desktop-screenshot

自动保存文件,轻松截取 Windows 桌面屏幕截图。当你需要展示桌面状态、捕获应用窗口,或记录操作结果时,此功能尤为重要。重要提示:务必实际调用此工具,切勿在未调用的情况下就声称“截图已完成”。工具将返回 file_path,以便后续发送至聊天界面。

SKILL.md
--- frontmatter
name: desktop-screenshot
description: Capture Windows desktop screenshot with automatic file saving. When you need to show desktop state, capture application windows, or record operation results. IMPORTANT - must actually call this tool, never say 'screenshot done' without calling. Returns file_path for send_to_chat.
system: true
handler: desktop
tool-name: desktop_screenshot
category: Desktop

Desktop Screenshot

截取 Windows 桌面屏幕截图。

Important

用户要求截图时,必须实际调用此工具。禁止不调用就说"截图完成"!

Parameters

参数类型必填说明
pathstring保存路径(可选,自动生成)
window_titlestring只截取指定窗口(模糊匹配)
analyzeboolean是否用视觉模型分析,默认 false
analyze_querystring分析查询(需要 analyze=true)

Examples

截取整个桌面:

json
{}

截取指定窗口:

json
{"window_title": "记事本"}

截取并分析:

json
{
  "analyze": true,
  "analyze_query": "找到所有按钮"
}

Workflow

  1. 调用此工具截图
  2. 获取返回的 file_path
  3. send_to_chat(file_path=...) 发送给用户

Notes

  • 如果只涉及浏览器内的网页操作,请使用 browser_screenshot
  • 截图默认保存到用户桌面

Related Skills

  • browser-screenshot: 截取浏览器页面
  • send-to-chat: 发送截图给用户
  • desktop-click: 点击桌面元素