{
  "slug": "chrome-devtools-mcp-take-screenshot-accepts-size-and-format-caps-835ba83b7b5a",
  "title": "chrome-devtools-mcp take_screenshot accepts size and format caps",
  "tools": [
    "chrome-devtools-mcp"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-18T09:53:08.000Z",
  "announced_at": "2026-06-18T09:53:08.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When screenshots make MCP responses too large or exceed image dimension limits, start `chrome-devtools-mcp` with the needed screenshot caps; `take_screenshot` then uses them when the caller omits its own format or quality.",
    "examples": [
      "npx -y chrome-devtools-mcp@1.3.0 --screenshot-format=webp --screenshot-quality=80 --screenshot-max-width=2000 --screenshot-max-height=2000"
    ],
    "gotchas": [
      "Version: 1.3.0",
      "--screenshot-format: Output format: `jpeg`, `png`, or `webp`; unset preserves the `png` default.",
      "--screenshot-quality: Compression quality 0–100 for JPEG and WebP; ignored for PNG. Unset preserves the Puppeteer default.",
      "--screenshot-max-width: Maximum screenshot width in pixels; wider captures are downscaled with aspect ratio preserved. Unset means no resize.",
      "--screenshot-max-height: Maximum screenshot height in pixels; taller captures are downscaled with aspect ratio preserved. Can be combined with max-width; the smaller scale factor wins. Unset means no resize.",
      "Prerequisite: Node.js LTS, Chrome current stable or newer, and npm are listed as requirements.",
      "All flags are opt-in.",
      "Unset format preserves the existing `png` default.",
      "Unset quality preserves the Puppeteer default; quality applies to JPEG and WebP and is ignored for PNG.",
      "Unset width or height means no resize.",
      "Downscaling preserves aspect ratio; when width and height caps are combined, the smaller scale factor wins."
    ]
  },
  "why_it_matters": "When captures inflate MCP response payloads or exceed the consuming API's image dimension limits, configure screenshot format, quality, and size caps.",
  "sources": [
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/releases/tag/chrome-devtools-mcp-v1.3.0",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/1823",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/55c8a541d4f842056db6bc843e54117b07bf06c/README.md"
  ],
  "rank": 0.98045,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "ghtools-20261008",
    "verdict_id": "ghtools-20261008:ghtools-20261008-607b88c6681bf537-4:gate",
    "evidence_hash": "d54799d541387fedc5cd7590740e210e3859b9569b858a51719f5d86b17fbc80"
  },
  "review": {
    "draft_hash": "ff617f941e5cdaa9af8611942afb440862ca1f16a038eb137ef13e30fb19c1ea",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "ghtools-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.79 (>= 0.6 needed)."
  }
}
