Get Started
Google Drive
Google Drive
Google Drive agent for file management, sharing, collaboration, and organization.
Available Tools(45)
getAbout
Retrieves comprehensive information about the Google Drive user account, including storage quota, user profile details, and Drive capabilities. Useful for checking account limits, available storage space, and user preferences.
listFiles
Searches and lists files from Google Drive with advanced filtering and sorting options. Perfect for finding specific files, browsing folders, or getting an overview of your Drive contents. Supports powerful search queries and pagination for handling large file collections.
createFile
Creates a new file in Google Drive with flexible content options. Supports creating empty files, uploading content directly, or automatically downloading files from URLs. Perfect for generating documents, uploading images, or creating files programmatically with custom metadata and folder placement.
deleteFile
Permanently removes a file from Google Drive without sending it to trash first. This action cannot be undone, so use with caution. Files deleted this way are immediately removed and cannot be recovered.
exportFile
Converts Google Workspace files (Docs, Sheets, Slides) to standard formats like PDF, Microsoft Office formats, or other MIME types. Essential for sharing Google Workspace documents with users who don't have Google accounts or need offline access.
watchFile
Sets up real-time monitoring for changes to a specific file. When the file is modified, Google Drive will send notifications to your specified webhook URL. Perfect for tracking document changes, triggering workflows, or keeping external systems in sync with Drive files.
modifyLabels
Adds, updates, or removes custom labels on files for better organization and metadata management. Labels help categorize files with custom fields like priority, status, department, or project information that go beyond standard file properties.
getPermissions
Retrieves the complete list of sharing permissions for a file, showing who has access and what level of access they have. Essential for understanding file security, collaboration settings, and managing who can view or edit your files.
updatePermission
Modifies an existing permission to change access levels, add expiration dates, or transfer ownership. Use this to promote collaborators from viewers to editors, add time limits to access, or change sharing settings without recreating the entire permission.
getComment
Gets a comment by ID.
createComment
Adds a new comment to a file at a specific location or generally. Perfect for providing feedback, asking questions, or starting discussions on documents. Comments can be anchored to specific text ranges or left as general file comments.
deleteComment
Deletes a comment.
createReply
Adds a reply to an existing comment thread, continuing the conversation. Use this to respond to feedback, answer questions, or provide additional context within an ongoing discussion on a file.
updateReply
Updates a reply with patch semantics.
getRevisions
Lists a file's revisions.
getRevision
Gets a revision's metadata or content by ID.
watchChanges
Subscribes to changes for a user.
getStartPageToken
Gets the starting pageToken for listing future changes.
getTeamDrive
Gets a shared drive's metadata by ID.
listTeamDrives
Lists the user's shared drives.
updateTeamDrive
Updates the metadata for a shared drive.
unhideTeamDrive
Restores a shared drive to the default view.
listApps
Lists a user's installed apps.
getFile
Retrieves detailed information about a specific file, including metadata like name, size, creation date, MIME type, and permissions. Can also fetch file content for smaller files. Essential for getting file details before performing operations like copying, updating, or downloading.
updateFile
Modifies existing files in Google Drive by updating metadata, content, or moving files between folders. Use this to rename files, change descriptions, update custom properties, or move files to different folders. Changes are applied incrementally - only specified fields are updated.
copyFile
Creates a duplicate of an existing file with optional modifications. Perfect for creating backups, templates, or working copies. You can specify a new name, location, and description for the copied file while preserving the original.
downloadFile
Downloads files with intelligent size handling. For files ≤10MB, returns the actual file content as base64-encoded data. For files >10MB, provides a download URL due to size limitations. Perfect for retrieving images, documents, PDFs, and other file types with automatic optimization based on file size.
emptyTrash
Permanently removes all files currently in the Google Drive trash. This action cannot be undone and will permanently delete all trashed files. Use with extreme caution as this affects all trashed files across your entire Drive.
generateIds
Pre-generates unique file IDs that can be used when creating new files or folders. Useful for batch operations or when you need to know file IDs before creation. Helps avoid ID conflicts and enables more efficient bulk file operations.
listLabels
Retrieves all custom labels applied to a specific file, including their field values and metadata. Useful for understanding how a file is categorized and what additional information is associated with it.
createPermission
Grants access to a file by creating a new permission for a specific user, group, domain, or making it publicly accessible. Use this to share files with collaborators, set up team access, or create public links with controlled permissions.
deletePermission
Removes access for a specific user, group, or public access from a file. This revokes sharing permissions and prevents the specified party from accessing the file. Use this to unshare files or remove collaborators.
getComments
Retrieves all comments and discussions on a file, including threaded replies and comment metadata. Essential for reviewing feedback, tracking discussions, and understanding collaboration history on documents, spreadsheets, and presentations.
updateComment
Updates a comment with patch semantics.
getReplies
Lists a comment's replies.
getReply
Gets a reply by ID.
deleteReply
Deletes a reply.
updateRevision
Updates a revision with patch semantics.
deleteRevision
Permanently deletes a file version.
getChanges
Lists the changes for a user or shared drive.
stopChannel
Stops watching resources through this channel.
createTeamDrive
Creates a shared drive.
deleteTeamDrive
Permanently deletes a shared drive for which the user is an organizer.
hideTeamDrive
Hides a shared drive from the default view.
getApp
Gets a specific app.