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, content 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).
Download a **non–Google Workspace** file from Drive as an attachment. 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 **Download File** 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.