[FEATURE] Google Drive connector: no way to update an existing file's content (update_file is metadata-only), so revisions require a browser

Status Open
Maintainer reply None cached
Activity 3 comments · opened Sep 18, 2026

Summary

The Google Drive connector can create files with content (create_file, with textContent / base64Content) but there is no way to replace the content of a file that already exists. update_file accepts only title and parentId — its own description says "currently only title and parent_id are supported".

The Drive API supports this: PATCH https://www.googleapis.com/upload/drive/v3/files/{fileId}?uploadType=media creates a new revision in place, keeping the file id and the version history. The connector holds the OAuth token that could make that call; nothing in the tool surface exposes it.

Why it matters

Keeping the file id stable is the whole point. Every link to that file — a calendar event description, a Google Chat smart chip, a shared bookmark, an email someone already sent — points at the id. Today the only options a session has are:

  1. Create a second file and repoint every link by hand, leaving a duplicate behind, or
  2. Drive a real browser session to File → Manage versions → Upload new version.

Option 1 produces exactly the clutter users object to. Option 2 needs a logged-in browser and a local file input, so when browser automation is unavailable the revision simply cannot happen, even though the connector is authenticated and working.

Concrete case

A briefing document lives in a shared Drive folder and is linked from a Google Calendar event. Revising it should be one new revision of that file. Instead it required uploading a new file, editing the calendar event to the new id, and removing the old one — and when the browser route was down, the corrected version could not be applied at all.

Requested

Either:

  • extend update_file to accept textContent / base64Content + contentMimeType and issue the media PATCH, or
  • add a separate update_file_content tool.

Ideally also expose keepRevisionForever and let revisions.list be read, so a session can confirm the new revision landed.

Related

Not a duplicate of #30457 (connector connected but tools not exposed) — the tools are exposed and working here; the write verb is the gap.

View original on GitHub ↗

3 Comments

florianripp · 24 days ago

+1 — this blocks real document-governance workflows.

Use case: I maintain a Markdown-based company records system in Google Drive (a router index plus ~50 canonical records). Every record is referenced by its stable Drive file ID from indexes, calendar events and other documents. Updating a record must keep the same file ID and preserve revision history. With update_file limited to title/parentId, Claude can only create a new file (new ID, breaking every reference) or fall back to a locally mirrored Drive folder via Drive for Desktop.

The same workflow works today in ChatGPT's Drive integration. Adding textContent/base64Content + contentMimeType to update_file (media PATCH on files.update), ideally with keepRevisionForever and revisions.list, would close the gap. Reproduced on 2026-09-21 in Claude Cowork (desktop, Windows).

josie2479-maker · 14 days ago

Also hitting this on Windows 11 Pro (Claude desktop 2.16120.0.0), 2026-09-30. Every content change to an existing file becomes rename + create. With Google Drive for Desktop syncing the same folder, that leaves (1)/(2) copies of the canonical filename locally, and any other session holding the old file ID now points at the renamed original.

winston-quinn-gin · 10 days ago

+1, hitting this in a small business sales workflow, in more than one place.

  1. Our prospect list is a single Google Sheet that's the live master for the team. It's shared with reps and referenced elsewhere, so the file ID has to stay the same. Claude does the heavy lifting on it (cleaning exports, classifying records, enriching contacts in batches, matching back to CRM record IDs), but every update ends up as a paste block I copy in manually.
  1. We keep shared reference files (sales collateral and instruction files) in a Drive folder that a colleague works from. When Claude revises them, it can't replace the existing files, so I have to upload the new versions by hand and tell the colleague to swap them over. Creating a new copy instead would break the links he already uses.

In both cases the connector is authenticated and can read the files fine; it just can't write a new version back. Being able to push new content to an existing file (media PATCH on files.update, keeping revision history) would remove the manual step entirely.