{
  "slug": "chrome-devtools-mcp-emulate-supports-extra-http-headers-ce2a30672a51",
  "title": "chrome-devtools-mcp emulate supports extra HTTP headers",
  "tools": [
    "chrome-devtools-mcp"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-26T15:42:59.000Z",
  "announced_at": "2026-05-26T15:42:59.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When testing or debugging a page with custom request headers, call `emulate` on the selected page with `extraHttpHeaders` as a JSON string. Headers persist across navigations; pass an empty string to clear them, and omit the parameter to leave them unchanged.",
    "examples": [
      "emulate({\"extraHttpHeaders\":\"{\\\"X-Custom\\\":\\\"value\\\",\\\"Authorization\\\":\\\"Bearer <token>\\\"}\"})",
      "emulate({\"extraHttpHeaders\":\"\"})"
    ],
    "gotchas": [
      "Version: 1.1.0",
      "extraHttpHeaders: JSON string object of extra HTTP headers; headers are sent on every HTTP request from the page and persist across navigations until cleared. Empty string clears all extra headers.",
      "Headers apply to HTTP requests originating from the page and persist across navigations until cleared.",
      "Docs conflict: Card says parameter is `extraHTTPHeaders` and clearing uses `{}`; v1.1.0 reference documents `extraHttpHeaders` (lowercase `ttp`) as a JSON string, and says to clear with an empty string. It does not document omission behavior."
    ]
  },
  "why_it_matters": "Set page-level HTTP headers while testing or debugging a web application in Chrome.",
  "sources": [
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/releases/tag/chrome-devtools-mcp-v1.1.0",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/1176",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/chrome-devtools-mcp-v1.1.0/docs/tool-reference.md"
  ],
  "rank": 0.97034,
  "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-f2348bad6a01fac2-0:gate",
    "evidence_hash": "09fc333bb3481490b16d7cceeb8aa2a06ce1cebc42b75cd06fe0e244b0da0b75"
  },
  "review": {
    "draft_hash": "dfe75b5b010c448f3caa0882fe332b0a592f6b258a95ecdb403591e8998f2517",
    "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.97 >= 0.9; 2 needed) and Jev gave 0.78 (>= 0.6 needed)."
  }
}
