What can you do with it?
Google Drive allows you to manage files and folders programmatically. You can search for files by name or content, upload new files, read file contents, organize files into folders, add comments, and update file metadata. This integration supports both text-based and binary files, making it perfect for document management, file organization, and automated workflows.How to use it?
Basic Command Structure
Parameters
Required:action
- The operation to perform (search, read, upload, list-folder, add-comment, move-file, update-metadata)
Tools
Search Files
Find files by exact name match or partial name search Parameters:file-name
(required) - The name of the file to search forexact-match
(optional) - Whether to search for exact name match (default: true)
Read File
Read the contents of a file (automatically handles text and binary files) Parameters:file-id
(required) - The ID of the file to readfile-url
(optional) - Google Drive URL (will extract file ID automatically)
Upload File
Create a new file with content Parameters:file-name
(required) - Name for the new filecontent
(required) - File content (text or base64-encoded binary)mime-type
(required) - MIME type of the filefolder-id
(optional) - Parent folder IDdescription
(optional) - File description
List Folder Contents
Get all files in a specific folder Parameters:folder-id
(required) - The ID of the folderfolder-name
(optional) - Folder name (will search for ID if not provided)
Add Comment
Add a comment to a file Parameters:file-id
(required) - The ID of the filecomment
(required) - The comment text to add
Move File
Move a file to a different folder Parameters:file-id
(required) - The ID of the file to movedestination-folder-id
(required) - The destination folder IDsource-folder-id
(required) - The current parent folder ID
Update Metadata
Update file description or other metadata Parameters:file-id
(required) - The ID of the filedescription
(optional) - New description for the filename
(optional) - New name for the file