Google Drive MCP Server for Cloudflare Workers
63 tools available in the Google Drive MCP server. Each tool can be called by AI assistants to perform specific actions.
googledrive_get_driveGet details of a specific shared drive.
Args:
Returns shared drive details.
{
"type": "object",
"required": [
"driveId"
],
"properties": {
"driveId": {
"type": "string",
"description": "Shared drive ID"
}
}
}googledrive_list_access_proposalsList all pending access proposals (requests) for a file.
Args:
Returns list of access proposals.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 100,
"minimum": 1,
"description": "Results per page"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
}
}
}googledrive_get_aboutGet information about the current user and Drive settings.
Args:
Available fields:
Returns user and Drive information.
{
"type": "object",
"properties": {
"fields": {
"type": "string",
"description": "Fields to return (comma-separated)"
}
}
}googledrive_get_storage_quotaGet the current storage quota and usage.
Returns storage quota details including:
{
"type": "object",
"properties": {}
}googledrive_get_user_infoGet information about the current authenticated user.
Returns user details including:
{
"type": "object",
"properties": {}
}googledrive_get_export_formatsGet available export formats for Google Workspace files.
Returns a map of source MIME types to available export formats.
Useful for knowing which formats you can use with googledrive_export_file.
{
"type": "object",
"properties": {}
}googledrive_get_import_formatsGet available import formats for Google Workspace files.
Returns a map of source MIME types that can be imported to Google Workspace formats.
Useful for knowing which file types can be converted to Google Docs/Sheets/Slides.
{
"type": "object",
"properties": {}
}googledrive_get_access_proposalGet details of a specific access proposal.
Args:
Returns access proposal details.
{
"type": "object",
"required": [
"fileId",
"proposalId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"proposalId": {
"type": "string",
"description": "Access proposal ID"
}
}
}googledrive_accept_access_proposalAccept an access proposal, granting the requested access.
Args:
Returns confirmation of acceptance.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"proposalId": {
"type": "string",
"description": "Access proposal ID"
},
"sendNotification": {
"type": "boolean",
"default": true,
"description": "Send notification"
}
}
}googledrive_deny_access_proposalDeny an access proposal, rejecting the access request.
Args:
Returns confirmation of denial.
{
"type": "object",
"required": [
"fileId",
"proposalId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"proposalId": {
"type": "string",
"description": "Access proposal ID"
},
"sendNotification": {
"type": "boolean",
"default": true,
"description": "Send notification"
}
}
}googledrive_list_appsList all apps that the user has installed or authorized.
Args:
Returns list of installed/authorized apps.
{
"type": "object",
"properties": {
"languageCode": {
"type": "string",
"description": "Language code"
},
"appFilterMimeTypes": {
"type": "string",
"description": "Filter by MIME types"
},
"appFilterExtensions": {
"type": "string",
"description": "Filter by extensions"
}
}
}googledrive_get_appGet details of a specific app.
Args:
Returns app details.
{
"type": "object",
"required": [
"appId"
],
"properties": {
"appId": {
"type": "string",
"description": "App ID"
}
}
}googledrive_get_changes_start_tokenGet a starting page token for tracking future changes.
Use this to get the initial token, then use googledrive_list_changes to track changes from that point.
Args:
Returns a page token to use with googledrive_list_changes.
{
"type": "object",
"properties": {
"driveId": {
"type": "string",
"description": "Shared drive ID (optional)"
}
}
}googledrive_list_changesList changes since a specific page token.
Use googledrive_get_changes_start_token to get the initial token.
Args:
Returns list of changes and a new page token for the next call.
{
"type": "object",
"required": [
"pageToken"
],
"properties": {
"driveId": {
"type": "string",
"description": "Shared drive ID"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Results per page"
},
"pageToken": {
"type": "string",
"description": "Page token"
},
"includeRemoved": {
"type": "boolean",
"default": true,
"description": "Include removed files"
},
"restrictToMyDrive": {
"type": "boolean",
"default": false,
"description": "Only My Drive changes"
}
}
}googledrive_watch_changesSet up a webhook to receive change notifications.
Args:
Returns the created channel info.
{
"type": "object",
"required": [
"pageToken",
"channelId",
"webhookUrl"
],
"properties": {
"token": {
"type": "string",
"description": "Optional verification token"
},
"driveId": {
"type": "string",
"description": "Shared drive ID"
},
"channelId": {
"type": "string",
"description": "Unique channel ID"
},
"pageToken": {
"type": "string",
"description": "Starting page token"
},
"webhookUrl": {
"type": "string",
"description": "Webhook URL"
},
"expirationTime": {
"type": "string",
"description": "Expiration time (RFC 3339)"
}
}
}googledrive_watch_fileSet up a webhook to receive notifications when a specific file changes.
Args:
Returns the created channel info.
{
"type": "object",
"required": [
"fileId",
"channelId",
"webhookUrl"
],
"properties": {
"token": {
"type": "string",
"description": "Optional verification token"
},
"fileId": {
"type": "string",
"description": "File ID to watch"
},
"channelId": {
"type": "string",
"description": "Unique channel ID"
},
"webhookUrl": {
"type": "string",
"description": "Webhook URL"
},
"expirationTime": {
"type": "string",
"description": "Expiration time (RFC 3339)"
}
}
}googledrive_stop_channelStop receiving notifications for a watch channel.
Args:
Returns confirmation of channel stopped.
{
"type": "object",
"required": [
"channelId",
"resourceId"
],
"properties": {
"channelId": {
"type": "string",
"description": "Channel ID"
},
"resourceId": {
"type": "string",
"description": "Resource ID"
}
}
}googledrive_list_drivesList all shared drives the user has access to.
Args:
Returns paginated list of shared drives.
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 100,
"minimum": 1,
"description": "Results per page"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
}
}
}googledrive_list_commentsList all comments on a file.
Args:
Returns paginated list of comments.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 100,
"minimum": 1,
"description": "Results per page"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
},
"includeDeleted": {
"type": "boolean",
"default": false,
"description": "Include deleted comments"
},
"startModifiedTime": {
"type": "string",
"description": "Filter by modification time"
}
}
}googledrive_get_commentGet a specific comment by ID.
Args:
Returns comment details.
{
"type": "object",
"required": [
"fileId",
"commentId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"commentId": {
"type": "string",
"description": "Comment ID"
},
"includeDeleted": {
"type": "boolean",
"default": false,
"description": "Include if deleted"
}
}
}googledrive_create_commentAdd a comment to a file.
Args:
Returns the created comment.
{
"type": "object",
"required": [
"fileId",
"content"
],
"properties": {
"anchor": {
"type": "string",
"description": "Location anchor (JSON)"
},
"fileId": {
"type": "string",
"description": "File ID"
},
"content": {
"type": "string",
"description": "Comment text"
}
}
}googledrive_update_commentUpdate an existing comment.
Args:
Returns the updated comment.
{
"type": "object",
"required": [
"fileId",
"commentId",
"content"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"content": {
"type": "string",
"description": "New comment text"
},
"commentId": {
"type": "string",
"description": "Comment ID"
}
}
}googledrive_delete_commentDelete a comment.
Args:
Returns confirmation of deletion.
{
"type": "object",
"required": [
"fileId",
"commentId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"commentId": {
"type": "string",
"description": "Comment ID"
}
}
}googledrive_list_repliesList all replies to a comment.
Args:
Returns paginated list of replies.
{
"type": "object",
"required": [
"fileId",
"commentId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 100,
"minimum": 1,
"description": "Results per page"
},
"commentId": {
"type": "string",
"description": "Comment ID"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
},
"includeDeleted": {
"type": "boolean",
"default": false,
"description": "Include deleted replies"
}
}
}googledrive_get_replyGet a specific reply by ID.
Args:
Returns reply details.
{
"type": "object",
"required": [
"fileId",
"commentId",
"replyId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"replyId": {
"type": "string",
"description": "Reply ID"
},
"commentId": {
"type": "string",
"description": "Comment ID"
},
"includeDeleted": {
"type": "boolean",
"default": false,
"description": "Include if deleted"
}
}
}googledrive_create_replyAdd a reply to a comment.
Args:
Returns the created reply.
{
"type": "object",
"required": [
"fileId",
"commentId",
"content"
],
"properties": {
"action": {
"enum": [
"resolve",
"reopen"
],
"type": "string",
"description": "Action to perform"
},
"fileId": {
"type": "string",
"description": "File ID"
},
"content": {
"type": "string",
"description": "Reply text"
},
"commentId": {
"type": "string",
"description": "Comment ID"
}
}
}googledrive_update_replyUpdate an existing reply.
Args:
Returns the updated reply.
{
"type": "object",
"required": [
"fileId",
"commentId",
"replyId",
"content"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"content": {
"type": "string",
"description": "New reply text"
},
"replyId": {
"type": "string",
"description": "Reply ID"
},
"commentId": {
"type": "string",
"description": "Comment ID"
}
}
}googledrive_delete_replyDelete a reply.
Args:
Returns confirmation of deletion.
{
"type": "object",
"required": [
"fileId",
"commentId",
"replyId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"replyId": {
"type": "string",
"description": "Reply ID"
},
"commentId": {
"type": "string",
"description": "Comment ID"
}
}
}googledrive_resolve_commentResolve a comment by adding a reply with resolve action.
Args:
Returns the created reply.
{
"type": "object",
"required": [
"fileId",
"commentId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"content": {
"type": "string",
"default": "Resolved",
"description": "Resolution message"
},
"commentId": {
"type": "string",
"description": "Comment ID"
}
}
}googledrive_reopen_commentReopen a resolved comment by adding a reply with reopen action.
Args:
Returns the created reply.
{
"type": "object",
"required": [
"fileId",
"commentId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"content": {
"type": "string",
"default": "Reopened",
"description": "Reopen message"
},
"commentId": {
"type": "string",
"description": "Comment ID"
}
}
}googledrive_create_driveCreate a new shared drive.
Args:
Note: Requires Google Workspace account with shared drive enabled.
Returns the created shared drive.
{
"type": "object",
"required": [
"name",
"requestId"
],
"properties": {
"name": {
"type": "string",
"description": "Shared drive name"
},
"themeId": {
"type": "string",
"description": "Theme ID"
},
"requestId": {
"type": "string",
"description": "Unique request ID"
}
}
}googledrive_update_driveUpdate a shared drive's properties.
Args:
Returns the updated shared drive.
{
"type": "object",
"required": [
"driveId"
],
"properties": {
"name": {
"type": "string",
"description": "New name"
},
"driveId": {
"type": "string",
"description": "Shared drive ID"
},
"themeId": {
"type": "string",
"description": "Theme ID"
},
"colorRgb": {
"type": "string",
"description": "Theme color (hex)"
}
}
}googledrive_delete_drivePermanently delete a shared drive.
Args:
Warning: This permanently deletes the shared drive. The drive must be empty.
Returns confirmation of deletion.
{
"type": "object",
"required": [
"driveId"
],
"properties": {
"driveId": {
"type": "string",
"description": "Shared drive ID"
}
}
}googledrive_hide_driveHide a shared drive from the default view.
Args:
Returns the updated shared drive.
{
"type": "object",
"required": [
"driveId"
],
"properties": {
"driveId": {
"type": "string",
"description": "Shared drive ID"
}
}
}googledrive_unhide_driveRestore a hidden shared drive to the default view.
Args:
Returns the updated shared drive.
{
"type": "object",
"required": [
"driveId"
],
"properties": {
"driveId": {
"type": "string",
"description": "Shared drive ID"
}
}
}googledrive_update_drive_restrictionsUpdate sharing restrictions for a shared drive.
Args:
Returns the updated shared drive.
{
"type": "object",
"required": [
"driveId"
],
"properties": {
"driveId": {
"type": "string",
"description": "Shared drive ID"
},
"domainUsersOnly": {
"type": "boolean",
"description": "Domain users only"
},
"driveMembersOnly": {
"type": "boolean",
"description": "Drive members only"
},
"adminManagedRestrictions": {
"type": "boolean",
"description": "Admin-managed restrictions"
},
"copyRequiresWriterPermission": {
"type": "boolean",
"description": "Copy requires writer"
}
}
}googledrive_list_filesList files in Google Drive with optional filtering.
Args:
Returns paginated list of files with metadata.
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query in Google Drive query format"
},
"spaces": {
"type": "string",
"description": "Spaces to query (drive, appDataFolder)"
},
"orderBy": {
"type": "string",
"description": "Sort order (e.g., \"modifiedTime desc"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Number of files"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
},
"includeSharedDrives": {
"type": "boolean",
"default": true,
"description": "Include shared drive items"
}
}
}googledrive_get_fileGet metadata for a specific file.
Args:
Returns detailed file metadata.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fields": {
"type": "string",
"description": "Fields to return"
},
"fileId": {
"type": "string",
"description": "File ID"
}
}
}googledrive_create_fileCreate a new file in Google Drive.
Args:
Returns the created file metadata.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "File name"
},
"content": {
"type": "string",
"description": "File content (text)"
},
"mimeType": {
"type": "string",
"description": "MIME type"
},
"parentId": {
"type": "string",
"description": "Parent folder ID"
},
"description": {
"type": "string",
"description": "File description"
}
}
}googledrive_update_fileUpdate a file's metadata or content.
Args:
Returns the updated file metadata.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"name": {
"type": "string",
"description": "New name"
},
"fileId": {
"type": "string",
"description": "File ID"
},
"content": {
"type": "string",
"description": "New content"
},
"starred": {
"type": "boolean",
"description": "Starred status"
},
"trashed": {
"type": "boolean",
"description": "Move to trash"
},
"addParents": {
"type": "string",
"description": "Parent IDs to add"
},
"description": {
"type": "string",
"description": "New description"
},
"removeParents": {
"type": "string",
"description": "Parent IDs to remove"
}
}
}googledrive_copy_fileCreate a copy of a file.
Args:
Returns the copied file metadata.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the copy"
},
"fileId": {
"type": "string",
"description": "File ID to copy"
},
"parentId": {
"type": "string",
"description": "Parent folder ID"
},
"description": {
"type": "string",
"description": "Description"
}
}
}googledrive_delete_filePermanently delete a file (bypasses trash).
Args:
Returns confirmation of deletion.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID to delete"
}
}
}googledrive_empty_trashPermanently delete all files in the trash.
Returns confirmation of trash emptied.
{
"type": "object",
"properties": {}
}googledrive_export_fileExport a Google Workspace document to a different format.
Args:
Common export formats:
Returns the exported content.
{
"type": "object",
"required": [
"fileId",
"mimeType"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID to export"
},
"mimeType": {
"type": "string",
"description": "Target MIME type"
}
}
}googledrive_download_fileDownload a file's content.
Args:
Note: For Google Workspace files (Docs, Sheets, Slides), use googledrive_export_file instead.
Returns the file content.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID to download"
}
}
}googledrive_generate_idsGenerate file IDs for use with create requests.
Args:
Returns array of generated IDs.
{
"type": "object",
"properties": {
"count": {
"type": "integer",
"default": 10,
"maximum": 1000,
"minimum": 1,
"description": "Number of IDs"
},
"space": {
"enum": [
"drive",
"appDataFolder"
],
"type": "string",
"default": "drive",
"description": "Space"
}
}
}googledrive_search_filesSearch for files with advanced query options.
Common query examples:
Combine with 'and', 'or', 'not'.
Args:
Returns matching files.
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Search query"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Results per page"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
}
}
}googledrive_create_folderCreate a new folder in Google Drive.
Args:
Returns the created folder metadata.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Folder name"
},
"parentId": {
"type": "string",
"description": "Parent folder ID"
}
}
}googledrive_list_folderList the contents of a folder.
Args:
Returns paginated list of files and folders.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"orderBy": {
"type": "string",
"description": "Sort order"
},
"folderId": {
"type": "string",
"description": "Folder ID (use \"root\" for root folder)"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Number of items"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
}
}
}googledrive_move_fileMove a file to a different folder.
Args:
Returns the updated file metadata.
{
"type": "object",
"required": [
"fileId",
"newParentId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID to move"
},
"newParentId": {
"type": "string",
"description": "Destination folder ID"
},
"removeFromCurrentParent": {
"type": "boolean",
"default": true,
"description": "Remove from current parent"
}
}
}googledrive_list_permissionsList all permissions (sharing settings) for a file or folder.
Args:
Returns list of permissions with details.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File or folder ID"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 100,
"minimum": 1,
"description": "Results per page"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
}
}
}googledrive_get_permissionGet details of a specific permission.
Args:
Returns permission details.
{
"type": "object",
"required": [
"fileId",
"permissionId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File or folder ID"
},
"permissionId": {
"type": "string",
"description": "Permission ID"
}
}
}googledrive_share_with_userShare a file or folder with a specific user.
Args:
Roles:
Returns the created permission.
{
"type": "object",
"required": [
"fileId",
"email"
],
"properties": {
"email": {
"type": "string",
"description": "User email address"
},
"fileId": {
"type": "string",
"description": "File or folder ID"
},
"emailMessage": {
"type": "string",
"description": "Custom email message"
},
"sendNotification": {
"type": "boolean",
"default": true,
"description": "Send notification"
},
"transferOwnership": {
"type": "boolean",
"description": "Transfer ownership"
}
}
}googledrive_share_with_groupShare a file or folder with a Google Group.
Args:
Returns the created permission.
{
"type": "object",
"required": [
"fileId",
"email"
],
"properties": {
"email": {
"type": "string",
"description": "Group email address"
},
"fileId": {
"type": "string",
"description": "File or folder ID"
},
"sendNotification": {
"type": "boolean",
"default": true,
"description": "Send notification"
}
}
}googledrive_share_with_domainShare a file or folder with an entire domain.
Args:
Returns the created permission.
{
"type": "object",
"required": [
"fileId",
"domain",
"role"
],
"properties": {
"role": {
"enum": [
"reader",
"commenter",
"writer"
],
"type": "string",
"description": "Permission role"
},
"domain": {
"type": "string",
"description": "Domain name"
},
"fileId": {
"type": "string",
"description": "File or folder ID"
},
"allowFileDiscovery": {
"type": "boolean",
"default": false,
"description": "Allow file discovery"
}
}
}googledrive_make_publicMake a file or folder publicly accessible to anyone.
Args:
Warning: This makes the file accessible to anyone with the link.
Returns the created permission.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"role": {
"enum": [
"reader",
"commenter",
"writer"
],
"type": "string",
"default": "reader",
"description": "Permission role"
},
"fileId": {
"type": "string",
"description": "File or folder ID"
},
"allowFileDiscovery": {
"type": "boolean",
"default": false,
"description": "Allow search engine indexing"
}
}
}googledrive_update_permissionUpdate an existing permission (change role or expiration).
Args:
Returns the updated permission.
{
"type": "object",
"required": [
"fileId",
"permissionId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File or folder ID"
},
"permissionId": {
"type": "string",
"description": "Permission ID"
},
"expirationTime": {
"type": "string",
"description": "Expiration date (RFC 3339)"
}
}
}googledrive_remove_permissionRemove a permission (revoke sharing).
Args:
Returns confirmation of removal.
{
"type": "object",
"required": [
"fileId",
"permissionId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File or folder ID"
},
"permissionId": {
"type": "string",
"description": "Permission ID"
}
}
}googledrive_list_revisionsList all revisions (version history) of a file.
Args:
Returns paginated list of revisions.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Results per page"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
}
}
}googledrive_get_revisionGet details of a specific revision.
Args:
Returns revision details.
{
"type": "object",
"required": [
"fileId",
"revisionId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"revisionId": {
"type": "string",
"description": "Revision ID"
}
}
}googledrive_update_revisionUpdate revision properties (e.g., keep forever).
Args:
Returns the updated revision.
{
"type": "object",
"required": [
"fileId",
"revisionId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"published": {
"type": "boolean",
"description": "Publish this revision"
},
"revisionId": {
"type": "string",
"description": "Revision ID"
},
"keepForever": {
"type": "boolean",
"description": "Keep this revision permanently"
},
"publishAuto": {
"type": "boolean",
"description": "Auto-publish future revisions"
},
"publishedOutsideDomain": {
"type": "boolean",
"description": "Publish outside domain"
}
}
}googledrive_delete_revisionDelete a revision (cannot delete the current/head revision).
Args:
Note: Cannot delete the most recent revision.
Returns confirmation of deletion.
{
"type": "object",
"required": [
"fileId",
"revisionId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"revisionId": {
"type": "string",
"description": "Revision ID"
}
}
}googledrive_keep_revisionMark a revision to be kept forever (won't be auto-deleted).
Args:
Returns the updated revision.
{
"type": "object",
"required": [
"fileId",
"revisionId"
],
"properties": {
"fileId": {
"type": "string",
"description": "File ID"
},
"revisionId": {
"type": "string",
"description": "Revision ID"
}
}
}