Google Drive
Google Drive file storage and collaboration. Manage files, folders, permissions, comments, revisions, and shared drives.
Authentication: oauth
Tools
• List Files
List files and folders in Google Drive. Supports search queries, pagination, and filtering by type.
• Get File
Get metadata for a specific file or folder by ID.
• Download File
Download file content. For Google Docs/Sheets/Slides, use export_file instead. Returns the file content as base64.
• Export File
Export a Google Workspace document (Docs, Sheets, Slides) to a different format.
• Create File
Create a new file in Google Drive. Use this for uploading files with content.
• Create Folder
Create a new folder in Google Drive.
• Upload File
Upload a file to Google Drive. Supports text content, base64-encoded binary, or fileId reference from previous nodes.
• Update File
Update file metadata (name, description) or content.
• Copy File
Create a copy of a file.
• Move File
Move a file to a different folder.
• Delete File
Permanently delete a file or folder. Use trash_file for recoverable deletion.
• Trash File
Move a file or folder to trash (recoverable).
• Untrash File
Restore a file or folder from trash.
• Empty Trash
Permanently delete all files in trash.
• List Folders
List all folders in Google Drive. Returns folder IDs and names for use in dropdowns. Use this to populate folder selection fields.
• List Folder Contents
List all files and folders inside a specific Google Drive folder. Easier to use than list_files for browsing folder contents.
• Read File Content
Read the text content of a file from Google Drive. Supports text files and Google Workspace files.
SUPPORTED FILE TYPES:
• Text files: .txt, .json, .csv, .xml, .md, .html, .css, .js, .ts, .py, .yaml, .yml, .toml, .ini, .log, .sql, .sh
• Google Docs: Automatically exported to plain text
• Google Sheets: Automatically exported to CSV format
• Google Slides: Automatically exported to plain text
NOT SUPPORTED (returns error):
• Binary files: Images, videos, audio, PDFs, DOCX, XLSX, ZIP, etc.
• Use download_file for binary files and process separately
• Search Files
Search for files using Google Drive query syntax. Provides a simpler interface than list_files for common searches.
• List Permissions
List all permissions (sharing settings) for a file or folder.
• Create Permission
Share a file or folder with a user, group, domain, or anyone.
• Update Permission
Update an existing permission (change role).
• Delete Permission
Remove a permission (unshare) from a file or folder.
• List Comments
List all comments on a file.
• Create Comment
Add a comment to a file.
• Reply To Comment
Reply to an existing comment.
• Delete Comment
Delete a comment.
• List Revisions
List all revisions (version history) of a file.
• Get Revision
Get a specific revision of a file.
• List Shared Drives
List all shared drives the user has access to.
• Get Shared Drive
Get information about a specific shared drive.
• Get About
Get information about the user's Google Drive storage quota and user info.
• Generate Download Link
Generate a direct download link for a file. Returns web content link if available.
Need help? Contact our support team