Skip to main content
Google Drive logo

Google Drive

Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices, with robust search and offline access

This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.

Connect

Google Drive connects with a single OAuth click - there is no token to paste. The first time an agent uses a Google Drive action, FlyMyAI asks you to authorize your Google Drive account. Approve it once and the connection is reused for every later run.

Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

ActionWhat it doesRequired inputs
GOOGLEDRIVE_ADD_FILE_SHARING_PREFERENCEModifies sharing permissions for an existing google drive file, granting a specified role to a user, group, domain, or 'anyone'.file_id, role, type
GOOGLEDRIVE_COPY_FILEDuplicates an existing file in google drive, identified by its 'file id'.file_id
GOOGLEDRIVE_CREATE_COMMENTTool to create a comment on a file. use when you need to add a new comment to a specific file in google drive.file_id, content
GOOGLEDRIVE_CREATE_DRIVETool to create a new shared drive. use when you need to programmatically create a new shared drive for collaboration or storage.requestId, name
GOOGLEDRIVE_CREATE_FILECreates a new file or folder with metadata. use to create empty files or folders, or files with content by providing it in the request body (though this action primarily focuses on metadata creation).-
GOOGLEDRIVE_CREATE_FILE_FROM_TEXTCreates a new file in google drive from provided text content (up to 10mb), supporting various formats including automatic conversion to google workspace types.file_name, text_content
GOOGLEDRIVE_CREATE_FOLDERCreates a new folder in google drive, optionally within a parent folder specified by its id or name; if a parent name is provided but not found, the action will fail.folder_name
GOOGLEDRIVE_CREATE_REPLYTool to create a reply to a comment in google drive. use when you need to respond to an existing comment on a file.file_id, comment_id, content
GOOGLEDRIVE_CREATE_SHORTCUT_TO_FILETool to create a shortcut to a file or folder in google drive. use when you need to link to an existing drive item from another location without duplicating it.name, target_id
GOOGLEDRIVE_DELETE_COMMENTDeletes a comment from a file. use when you need to remove a specific comment from a google drive file.file_id, comment_id
GOOGLEDRIVE_DELETE_DRIVETool to permanently delete a shared drive. use when you need to remove a shared drive and its contents (if specified).driveId
GOOGLEDRIVE_DELETE_PERMISSIONDeletes a permission from a file by permission id. use when you need to revoke access for a specific user or group from a file.file_id, permission_id
GOOGLEDRIVE_DELETE_REPLYTool to delete a specific reply by reply id. use when you need to remove a reply from a comment on a file.file_id, comment_id, reply_id
GOOGLEDRIVE_DOWNLOAD_FILEDownloads a file from google drive by its id. for google workspace documents (docs, sheets, slides), optionally exports to a specified 'mime type'. for other file types, downloads in their native format regardless of mime type.file_id
GOOGLEDRIVE_EDIT_FILEUpdates an existing google drive file by overwriting its entire content with new text (max 10mb).file_id, content
GOOGLEDRIVE_EMPTY_TRASHTool to permanently delete all of the user's trashed files. use when you want to empty the trash in google drive.-
GOOGLEDRIVE_FILES_MODIFY_LABELSModifies the set of labels applied to a file. returns a list of the labels that were added or modified. use when you need to programmatically change labels on a google drive file, such as adding, updating, or removing them.file_id, label_modifications
GOOGLEDRIVE_FIND_FILETool to list or search for files and folders in google drive. use when you need to find specific files based on query criteria or list contents of a drive/folder.-
GOOGLEDRIVE_FIND_FOLDERTool to find a folder in google drive by its name and optionally a parent folder. use when you need to locate a specific folder to perform further actions like creating files in it or listing its contents.-
GOOGLEDRIVE_GENERATE_IDSGenerates a set of file ids which can be provided in create or copy requests. use when you need to pre-allocate ids for new files or copies.-
GOOGLEDRIVE_GET_ABOUTTool to retrieve information about the user, the user's drive, and system capabilities. use when you need to check storage quotas, user details, or supported import/export formats.-
GOOGLEDRIVE_GET_CHANGES_START_PAGE_TOKENTool to get the starting pagetoken for listing future changes in google drive. use this when you need to track changes to files and folders.-
GOOGLEDRIVE_GET_COMMENTTool to get a comment by id. use when you need to retrieve a specific comment from a google drive file and have both the file id and comment id.fileId, commentId
GOOGLEDRIVE_GET_DRIVETool to get a shared drive by id. use when you need to retrieve information about a specific shared drive.drive_id
GOOGLEDRIVE_GET_FILE_METADATATool to get a file's metadata by id. use when you need to retrieve the metadata for a specific file in google drive.fileId
GOOGLEDRIVE_GET_PERMISSIONGets a permission by id. use this tool to retrieve a specific permission for a file or shared drive.file_id, permission_id
GOOGLEDRIVE_GET_REPLYTool to get a specific reply to a comment on a file. use when you need to retrieve the details of a particular reply.fileId, commentId, replyId
GOOGLEDRIVE_GET_REVISIONTool to get a specific revision's metadata by revision id. use when you need to retrieve information about a particular version of a file.file_id, revision_id
GOOGLEDRIVE_GOOGLE_DRIVE_DELETE_FOLDER_OR_FILE_ACTIONTool to delete a file or folder in google drive. use when you need to permanently remove a specific file or folder using its id. note: this action is irreversible.fileId
GOOGLEDRIVE_HIDE_DRIVETool to hide a shared drive from the default view. use when you want to remove a shared drive from the user's main google drive interface without deleting it.drive_id
GOOGLEDRIVE_LIST_CHANGESTool to list the changes for a user or shared drive. use when you need to track modifications to files and folders, such as creations, deletions, or permission changes. this action requires a 'pagetoken' which can be initially obtained using the 'get changes…pageToken
GOOGLEDRIVE_LIST_COMMENTSTool to list all comments for a file in google drive. use when you need to retrieve comments associated with a specific file.fileId
GOOGLEDRIVE_LIST_FILESTool to list a user's files and folders in google drive. use this to search or browse for files and folders based on various criteria.-
GOOGLEDRIVE_LIST_FILE_LABELSTool to list the labels on a file. use when you need to retrieve all labels associated with a specific file in google drive.file_id
GOOGLEDRIVE_LIST_PERMISSIONSTool to list a file's permissions. use when you need to retrieve all permissions associated with a specific file or shared drive.fileId
GOOGLEDRIVE_LIST_REPLIES_TO_COMMENTTool to list replies to a comment in google drive. use this when you need to retrieve all replies associated with a specific comment on a file.file_id, comment_id
GOOGLEDRIVE_LIST_REVISIONSTool to list a file's revisions. use when you need to retrieve the revision history of a specific file in google drive.fileId
GOOGLEDRIVE_LIST_SHARED_DRIVESTool to list the user's shared drives. use when you need to get a list of all shared drives accessible to the authenticated user.-
GOOGLEDRIVE_MOVE_FILETool to move a file from one folder to another in google drive. use when you need to reorganize files by changing their parent folder(s).file_id
GOOGLEDRIVE_PARSE_FILEDeprecated: exports google workspace files (max 10mb) to a specified format using 'mime type', or downloads other file types; use 'googledrive download file' instead.file_id
GOOGLEDRIVE_STOP_WATCH_CHANNELTool to stop watching resources through a specified channel. use this when you want to stop receiving notifications for a previously established watch.id, resourceId
GOOGLEDRIVE_UNHIDE_DRIVETool to unhide a shared drive. use when you need to restore a shared drive to the default view.driveId
GOOGLEDRIVE_UNTRASH_FILETool to restore a file from the trash. use when you need to recover a deleted file. this action updates the file's metadata to set the 'trashed' property to false.file_id
GOOGLEDRIVE_UPDATE_COMMENTTool to update an existing comment on a google drive file. use when you need to change the content or status (e.g., resolve) of a comment.file_id, comment_id
GOOGLEDRIVE_UPDATE_DRIVETool to update the metadata for a shared drive. use when you need to modify properties like the name, theme, background image, or restrictions of a shared drive.driveId
GOOGLEDRIVE_UPDATE_FILE_PUTUpdates file metadata. uses patch semantics (partial update) as per google drive api v3. use this tool to modify attributes of an existing file like its name, description, or parent folders. note: this action currently supports metadata updates only. file con…file_id
GOOGLEDRIVE_UPDATE_FILE_REVISION_METADATAUpdates metadata of a file revision (e.g., keepforever, publish). use this tool to modify the metadata of a specific revision of a file in google drive.file_id, revision_id
GOOGLEDRIVE_UPDATE_PERMISSIONTool to update a permission with patch semantics. use when you need to modify an existing permission for a file or shared drive.fileId, permissionId, permission
GOOGLEDRIVE_UPDATE_REPLYTool to update a reply to a comment on a google drive file. use when you need to modify the content of an existing reply.file_id, comment_id, reply_id, content, fields
GOOGLEDRIVE_UPLOAD_FILEUploads a file (max 5mb) to google drive, moving it to a specified folder if a valid folder id is provided, otherwise uploads to root.file_to_upload
GOOGLEDRIVE_WATCH_CHANGESTool to subscribe to changes for a user or shared drive in google drive. use when you need to monitor a google drive for modifications and receive notifications at a specified webhook url.id, type, address
We love our partners - FlyMy.AI builds with the best. Thanks, Google Drive!