{
  "slug": "save-network-request-and-response-bodies-to-files-46b6f442a75a",
  "title": "Save network request and response bodies to files",
  "tools": [
    "chrome-devtools-mcp"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-01-27T13:20:22.000Z",
  "announced_at": "2026-01-27T13:20:22.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When debugging a web app, call `get_network_request` for the target page and set `requestFilePath` and/or `responseFilePath` to save bodies; omit either path to return that body inline.",
    "examples": [
      "get_network_request({\"pageId\": <pageId>, \"reqid\": <requestId>, \"requestFilePath\": \"<request-path>\", \"responseFilePath\": \"<response-path>\"})"
    ],
    "gotchas": [
      "Version: 0.14.0",
      "pageId (required): ID of the target page.",
      "reqid: Request ID; omit to use the currently selected request in the DevTools Network panel.",
      "requestFilePath: Absolute or relative path to save the request body; omit to return it inline.",
      "responseFilePath: Absolute or relative path to save the response body; omit to return it inline.",
      "Both path parameters are optional and accept absolute or relative paths."
    ]
  },
  "why_it_matters": "Inspect or retain network request and response bodies while debugging a repository's web application.",
  "before": "Retrieve the body inline by omitting `requestFilePath` and `responseFilePath`.",
  "sources": [
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/releases/tag/chrome-devtools-mcp-v0.14.0",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/795",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/6d0e4cab28a8498c2783c1c0c6436c655de7b336/docs/tool-reference.md"
  ],
  "rank": 0.93034,
  "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-5dba2f3d6314e1b3-5:gate",
    "evidence_hash": "8a95a0b2b33db9003b3286ddb08fe888c98236147fa4f92a83f17c2716e8e63f"
  },
  "review": {
    "draft_hash": "8e0853c382069df8c78aa8094a2dde02ddc0ddb9aeb50b1d3daa67dcc20fe341",
    "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.93 >= 0.9; 2 needed) and Jev gave 0.79 (>= 0.6 needed)."
  }
}
