{
  "slug": "chrome-devtools-mcp-upload-file-accepts-multiple-paths-cd80ac5f5224",
  "title": "chrome-devtools-mcp upload_file accepts multiple paths",
  "tools": [
    "chrome-devtools-mcp"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-25T11:35:48.000Z",
  "announced_at": "2026-08-25T11:35:48.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a file input supports multiple selections, call `upload_file` with an array of local paths. Use a string path for a single-file upload.",
    "examples": [
      "{\"name\":\"upload_file\",\"arguments\":{\"uid\":\"<file-input-uid>\",\"filePaths\":[\"<local-path-1>\",\"<local-path-2>\"]}}",
      "{\"name\":\"upload_file\",\"arguments\":{\"uid\":\"<file-input-uid>\",\"filePaths\":\"<local-path>\"}}"
    ],
    "gotchas": [
      "Version: 1.8.0",
      "uid (required): Snapshot uid of the file input or an element that opens the page's file chooser.",
      "filePaths (required): One or more local file paths to upload; accepts an array, and the release note says a string remains supported for one file.",
      "includeSnapshot: Whether to include a snapshot in the response; defaults to false.",
      "The CLI cannot pass arrays and exposes only the single-value form."
    ]
  },
  "why_it_matters": "Upload multiple files through a file input that supports multiple selections.",
  "before": "The release note says `upload_file` accepted only one path.",
  "sources": [
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/releases/tag/chrome-devtools-mcp-v1.8.0",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/2257",
    "https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/c8a2393df63da6f62bc76dcc3dc6c288c5fd5911/docs/tool-reference.md"
  ],
  "rank": 0.97024,
  "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-03b1ce95dd8dcded-8:gate",
    "evidence_hash": "d1c02b64abd3eac67612ba31a1ccd5e85e0544264fefbebac90e612d2e8a3a01"
  },
  "review": {
    "draft_hash": "89f26741a35c2ba405c577d3a21d2df42c28c7937d40b9dd796ec5d07aa4f1ce",
    "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.77 (>= 0.6 needed)."
  }
}
