Built by Metorial, the integration platform for agentic AI.
Search for files and folders in Google Drive using queries. Supports filtering by name, MIME type, parent folder, ownership, modification date, shared status, and trashed state. Use the `query` field with Google Drive query syntax (e.g. `name contains 'report'`, `mimeType = 'application/pdf'`, `'folderId' in parents`). Results can be ordered and paginated.
Upload a file with content to Google Drive. Provide file content as plain text or base64-encoded string. The file will be created with the given name, metadata MIME type, and optional parent folder.
List all shared drives the authenticated user has access to. Optionally filter by name query.
List all comments on a file, including threaded replies. Shows comment content, author, timestamps, and resolution status.
List all permissions (sharing settings) for a file or folder. Shows who has access and their role (owner, writer, commenter, reader).
Get a downloadable **non–Google Workspace** file from Drive, along with its browser download URL. For Docs, Sheets, or Slides, use **Export File** instead.
Add a reply to an existing comment thread on a file. Can also resolve or reopen the comment thread by setting the action field.
Create a new file or folder in Google Drive. To create a folder, set `mimeType` to `application/vnd.google-apps.folder`. To create a Google Doc, Sheet, or Slides, use the appropriate Google Workspace MIME type. Specify parent folder IDs to place the file in a specific location.
Export a Google Workspace file (Docs, Sheets, Slides, Drawings) to a standard format such as PDF, DOCX, XLSX, CSV, or plain text. Only works with Google Workspace native formats — for regular files use the **Get Download URL** tool.
Share a file or folder with a user, group, domain, or make it accessible to anyone with a link. Assigns a specific role (reader, commenter, writer, or owner) to the grantee.
Update a shared drive's name or restrictions.
Update a file or folder's metadata in Google Drive. Can rename, change description, star/unstar, trash/restore, or move between folders. To move a file, specify both `addParentIds` and `removeParentIds`.
Add a comment to a file. Optionally quote specific content from the file that the comment relates to.
Remove a permission (revoke access) from a file or folder. Use **List Permissions** to find the permission ID.
Change the role of an existing permission on a file or folder. Use **List Permissions** to find the permission ID.
Create a new shared drive for team collaboration. Requires Google Workspace admin privileges.
Delete a comment from a file. This removes the comment permanently.
Create a copy of an existing file in Google Drive. Optionally provide a new name and destination folder for the copy.
List the revision history of a file. Shows all saved versions with timestamps, who modified them, and file sizes.
Permanently delete a file or folder from Google Drive. This action is irreversible. To move a file to trash instead (recoverable), use the **Update File** tool with `trashed: true`.
Delete a shared drive. The shared drive must be empty before it can be deleted.
Retrieve detailed metadata for a specific file or folder by its ID. Returns comprehensive information including name, MIME type, size, ownership, timestamps, sharing status, and links.
Get information about the authenticated Google Drive user and the user's storage quota.
Update the text of an existing Google Drive comment. Provide replyId to update a reply in that comment thread instead.
Get a fresh Google Drive changes page token or list file and shared-drive changes after a previously returned token.
List the Google Drive label definitions (taxonomies) the user can see, including each label's fields and selection choices. Use the returned field query keys in a Drive search query to find files by label.
Get details about one Google Drive app by ID, including the file types it opens, whether it is installed and authorized, and its open and create URL templates.
List the Google Drive apps installed for the authenticated user, such as editors and viewers that can open or create files. Optionally filter to apps that handle given file extensions or MIME types, and see which apps the user chose as defaults.
Get one Google Drive label definition by ID or resource name, including its fields, selection choices, lifecycle state, and what the user can do with it.