google_drive_update_file

Modify or replace the content of an existing file in Google Drive by specifying the file ID and new data. Ensure accurate updates with optional MIME type adjustments.

Instructions

Update the content of an existing file in Google Drive

Input Schema

NameRequiredDescriptionDefault
contentYesNew content of the file
fileIdYesID of the file to update
mimeTypeNoMIME type of the file (if different from original)

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "New content of the file", "type": "string" }, "fileId": { "description": "ID of the file to update", "type": "string" }, "mimeType": { "description": "MIME type of the file (if different from original)", "type": "string" } }, "required": [ "fileId", "content" ], "type": "object" }
ID: opwf6bop3j