Skip to main content

screenshot

Take a screenshot of a URL or the current page

Informations de source

Dépôt
mozilla/firefox-devtools-mcp
Dernière activité de la source
21 août 2026 à 16:35
Langue détectée de SKILL.md
anglais
Étoiles
496
Forks
68

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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.
Voir sur GitHub