restore_drive_revision
Restore Google Drive files to previous versions by downloading and re-uploading revision content for PDFs, DOCX, images, and other binary file types.
Instructions
Restore a Drive file to a previous revision.
Downloads the revision's raw content and re-uploads it as the current version. Works for binary file types (PDFs, DOCX, images, etc.). Google-native files (Docs, Sheets, Slides) do not expose raw revision content via the API — for those, use the Google Docs "Version history" UI instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| file_id | Yes | Drive file ID. | |
| revision_id | Yes | ID of the revision to restore (from get_drive_revisions). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |