Google Drive integration
Cloud file storage and synchronization service API for managing files, folders, and sharing. Upload, download, organize files, manage permissions, export Google Workspace documents, and access storage information. Perfect for building file management applications, backup tools, document collaboration systems, and cloud storage integrations.
Say what should happen.
The workflow builds itself.
Common Google Drive use cases
- real-time sync
- storage cleanup
- file organization
- permanent deletion
- access audit
- fixing typos
- collaboration
- change detection
- comment moderation
- collaboration review
What you can do with Google Drive
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
File, 12 operations
copy_fileCopy filePOSTCreates a duplicate copy of a file in Google Drive. Can specify a new name and destination folder for the copy.create_fileCreate filePOSTCreates a new file's metadata in Google Drive (empty Google Doc/Sheet/Slides, a folder, or an empty binary file). Does not upload file content.delete_fileDelete fileDELETEPermanently deletes a file from Google Drive, bypassing the trash. This action is irreversible and immediately removes the file.download_fileDownload fileGETDownloads the binary content of a file from Google Drive. Works with uploaded files like PDFs, images, and documents. Use export_file for Google Docs formats.empty_trashEmpty trashDELETEPermanently deletes all files in the user's trash. This action is irreversible and frees up storage quota.export_fileExport fileGETExports Google Workspace files (Docs, Sheets, Slides) to downloadable formats like PDF, DOCX, XLSX, or plain text.generate_file_idsGenerate file idsGETGenerates unique file IDs for use in batch upload operations. Pre-generating IDs enables parallel uploads with predictable identifiers.get_fileGet fileGETRetrieves metadata for a specific file including name, size, type, permissions, and modification history. Does not download file content.list_filesList filesGETLists files and folders in Google Drive. Supports powerful search queries to filter by name, type, parent folder, modification date, and shared status.move_fileMove filePATCHMoves a file from one folder to another by updating its parent references. Files can exist in multiple folders simultaneously.update_fileUpdate filePATCHUpdates a file's metadata. Can rename files, change descriptions, star or unstar, and move to or restore from trash.watch_fileWatch filePOSTCreates a subscription to receive push notifications when a file changes. Enables real-time sync without polling.
Drive, 7 operations
create_driveCreate drivePOSTCreates a new shared drive for team collaboration. Requires Google Workspace account with shared drive creation enabled.delete_driveDelete driveDELETEPermanently deletes a shared drive. Drive must be empty unless using admin access with allowItemDeletion.get_driveGet driveGETRetrieves metadata for a specific shared drive including name, capabilities, and restrictions.hide_driveHide drivePOSTHides a shared drive from the user's default Drive view. The drive remains accessible and can be unhidden.list_drivesList drivesGETLists all shared drives the user has access to. Shared drives are shared spaces owned by an organization.unhide_driveUnhide drivePOSTRestores a previously hidden shared drive to the user's default Drive view.update_driveUpdate drivePATCHUpdates shared drive settings like name, theme, or restrictions. Requires organizer role or admin access.
Comment, 5 operations
create_commentCreate commentPOSTCreates a new comment on a file. For Google Docs, can anchor comments to specific text.delete_commentDelete commentDELETEDeletes a comment from a file. Only the comment author or file owner can delete.get_commentGet commentGETRetrieves a specific comment by ID including its content, author, and any replies.list_commentsList commentsGETLists all comments on a file. Supports filtering by modification time and including deleted comments.update_commentUpdate commentPATCHUpdates the text content of an existing comment. Only the comment author can edit.
Permission, 5 operations
delete_permissionDelete permissionDELETEDeletes a permission, immediately revoking the grantee's access to the file.get_permissionGet permissionGETRetrieves a specific permission for a file by its ID. Returns the permission type, role, and grantee details.list_permissionsList permissionsGETLists all permissions on a file showing who has access and their access level. Useful for auditing sharing and managing collaborators.share_fileShare filePOSTShares a file with a user or group by creating a permission. Controls access level (viewer, commenter, editor) and notification settings.update_permissionUpdate permissionPATCHUpdates an existing permission to change access level. Can upgrade/downgrade roles or set expiration.
Reply, 5 operations
create_replyCreate replyPOSTCreates a reply to an existing comment. Can also resolve or reopen the comment thread.delete_replyDelete replyDELETEDeletes a reply from a comment thread. Only the reply author or file owner can delete.get_replyGet replyGETRetrieves a specific reply by ID with its content and author information.list_repliesList repliesGETLists all replies to a specific comment. Useful for displaying threaded discussions.update_replyUpdate replyPATCHUpdates the text content of an existing reply. Only the reply author can edit.
Revision, 4 operations
delete_revisionDelete revisionDELETEPermanently deletes a file revision. Some revisions like the current head cannot be deleted.get_revisionGet revisionGETRetrieves metadata for a specific file revision or downloads its content.list_revisionsList revisionsGETLists all saved revisions of a file. Shows version history with timestamps and authors.update_revisionUpdate revisionPATCHUpdates revision settings like keep-forever to prevent auto-deletion or publish status for Google Docs.
Change, 3 operations
get_changes_start_page_tokenGet changes start page tokenGETGets a starting page token for future change requests. Use this token to track changes from the current point in time.list_changesList changesGETLists changes to files and folders since a given page token. Essential for building sync applications.watch_changesWatch changesPOSTCreates a subscription to receive push notifications when any file changes. Enables real-time sync without polling.
About, 1 operation
get_aboutGet aboutGETRetrieves information about the user's Drive including storage quota, user profile, and supported import/export formats.
Channel, 1 operation
stop_channelStop channelPOSTStops receiving push notifications on a channel. Use when you no longer need real-time updates.
Folder, 1 operation
create_folderCreate folderPOSTCreates a new folder in Google Drive. Folders are special files with a specific mimeType for organizing other files.
OAuth scopes Google Drive requires
Each operation declares the scopes Google Drive requires for it.
https://www.googleapis.com/auth/drive.fileneeded by copy_file, create_comment, create_file and 33 morehttps://www.googleapis.com/auth/driveneeded by create_drive, delete_drive, empty_trash and 3 morehttps://www.googleapis.com/auth/drive.readonlyneeded by get_drive, list_drives
Google Drive API rate limits
- 10 requests per second
- 1,000,000,000 requests per day
Google Drive v3 uses quota-unit accounting: 1,000,000 units/minute/project, 325,000 units/minute/user/project, 400,000,000 units/day/project. Per-method cost varies (read=5, list=100, download=200, update=50, generateIds=5). Per-user upload cap: 750 GB/day, max file 5 TB. Exceeding minute quota returns 403 'User rate limit exceeded'.
These are the limits Google Drive documents, not ones LiveContext measured. They can change and often depend on your plan, so check the Google Drive documentation for current values.
Use Google Drive from Claude Code, Cursor or Codex
Connect Google Drive in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Google Drive operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Google Drive
- Create your workspace
Sign up free. Nothing to install.
- Connect Google Drive once
Add your Google Drive connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Google Drive integration FAQ
What can you do with the Google Drive integration?
LiveContext exposes 44 operations on Google Drive, covering file, drive, comment and permission. Common uses include real-time sync, storage cleanup and file organization.
Which OAuth scopes does Google Drive require?
It depends on the operation: each one declares the scopes Google Drive requires for it. The most common are https://www.googleapis.com/auth/drive.file (36 operations), https://www.googleapis.com/auth/drive (6 operations) and https://www.googleapis.com/auth/drive.readonly (2 operations).
What are the Google Drive API rate limits?
Google Drive documents 10 requests per second and 1,000,000,000 requests per day. Google Drive v3 uses quota-unit accounting: 1,000,000 units/minute/project, 325,000 units/minute/user/project, 400,000,000 units/day/project. Per-method cost varies (read=5, list=100, download=200, update=50, generateIds=5). Per-user upload cap: 750 GB/day, max file 5 TB. Exceeding minute quota returns 403 'User rate limit exceeded'. Limits are set by Google Drive and can depend on your plan.
