Skip to main content

screenshot

Take a screenshot of a URL or the current page

来源信息

仓库
mozilla/firefox-devtools-mcp
最近来源活动
2026年8月21日 16:35
检测到的 SKILL.md 语言
英语
星标
531
Forks
73

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
screenshot
description
Take a screenshot of a URL or the current page
argument-hint
["url or uid"]
disable-model-invocation
true
# /firefox-devtools-mcp:screenshot Captures a screenshot of a URL or the current page and shows it to the user. ## Usage ``` /firefox-devtools-mcp:screenshot https://example.com # Navigate then screenshot /firefox-devtools-mcp:screenshot # Screenshot current page /firefox-devtools-mcp:screenshot <uid> # Screenshot specific element ``` ## Steps 1. Navigate if a URL was given: call `navigate_page`. 2. Take the screenshot using the method that matches your environment: **In Cowork** (system prompt contains an outputs folder host path under "Shell access"): - Call `screenshot_page saveTo="<host-outputs-path>/screenshot.png"` using the host path from the system prompt, not the container path. - Load and call `present_files` with that same path so the user receives a clickable file card. **In Claude.ai chat or Claude Desktop** (no outputs folder in system prompt): - Call `screenshot_page` without `saveTo`. - Your final response must include the actual image returned — not a description of it. The user cannot see tool call outputs, only what you include in your reply.
在 GitHub 查看