/google-drive | Type: Application | PCID required: Yes
Tools
| Tool | Description |
|---|---|
google-drive_list_files | List files from Google Drive with optional shared drive access |
google-drive_get_file_information | Retrieve metadata and information about a Google Drive file |
google-drive_upload_file | Upload a new file to Google Drive from a URL source |
google-drive_delete_file | Delete a file from Google Drive |
google-drive_search_files | Search for files in Google Drive using query syntax |
google-drive_find_by_name | Find files and folders by name and get their IDs |
google-drive_list_files_in_folder | PREFERRED: Use folderName instead of folderId - no find_by_name lookup needed! List files in a Google Drive folder by name (exact match) or ID. |
google-drive_download_file | Download a file from Google Drive and store it as an artifact. Returns a link to the stored file, metadata, and a text preview for supported types (PDF, DOCX, XLSX, PPTX). NOT for Google Docs/Sheets - use their respective MCPs |
google-drive_create_folder | Create a new folder in Google Drive |
google-drive_move_file | Move a file to a different folder in Google Drive |
google-drive_copy_file | Copy a file in Google Drive |
google-drive_add_file_sharing | Add sharing permission to a file or folder in Google Drive |
google-drive_create_file_from_text | Create a new file from text content in Google Drive |
google-drive_add_comment | Add a comment to a file in Google Drive |
google-drive_list_comments | List comments on a file in Google Drive |
google-drive_reply_to_comment | Reply to an existing comment on a Google Drive file |
google-drive_resolve_comment | Mark a comment as resolved on a Google Drive file |
google-drive_delete_comment | Delete a comment from a Google Drive file |
google-drive_create_from_template | Create a new Google Drive file (Docs, Sheets, Slides, etc.) from an existing template. Optionally apply text replacements for Google Docs files (e.g., {{NAME}} -> “John Doe”). |
google-drive_move_to_trash | Move a file to trash in Google Drive (soft delete) |
google-drive_update_file | Update file metadata in Google Drive |
google-drive_get_current_user | Get current user information and storage quota |
google-drive_upload_csv_as_sheet | Upload a CSV file from a URL and convert it to a Google Sheet. The CSV content is automatically converted to Google Sheets format. |
google-drive_list_trigger_capabilities | List available trigger capabilities for Google Drive |
google-drive_poll_trigger | Poll Google Drive for new or removed items. Can monitor entire Drive or a specific file/folder URL. |
google-drive_list_files
List files from Google Drive with optional shared drive access Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
pageSize | string | No | 25 | Number of files to retrieve per page (maximum 1000) |
isShared | boolean | No | false | Whether to include files from shared drives and folders |
google-drive_get_file_information
Retrieve metadata and information about a Google Drive file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | Unique identifier of the file to retrieve information for |
google-drive_upload_file
Upload a new file to Google Drive from a URL source Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileUrl | string | Yes | — | URL of the file to upload to Google Drive |
google-drive_delete_file
Delete a file from Google Drive Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | Unique identifier of the file to delete |
google-drive_search_files
Search for files in Google Drive using query syntax Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Yes | — | Query string to search for files. Can be a filename (e.g., “document.docx”) or structured query (e.g., “mimeType=application/vnd.google-apps.document”). |
| All string values (e.g. file, folder IDs, mimeType, etc.) must be enclosed in single quotes (never double quotes) when used in the query string (e.g. ‘fileid’ or ‘folderid’). |
google-drive_find_by_name
Find files and folders by name and get their IDs Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | Name to search for |
exactMatch | boolean | No | false | If true, only returns items with exact name match. If false (default), returns partial matches. |
mimeType | string | No | "any" | Filter by type: “folder” for folders only, “document” for Google Docs, “spreadsheet” for Google Sheets, “presentation” for Slides, “any” for all (default) |
google-drive_list_files_in_folder
PREFERRED: Use folderName instead of folderId - no find_by_name lookup needed! List files in a Google Drive folder by name (exact match) or ID. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
folderId | string | No | — | Google Drive folder ID to list files from. Use this if you already have the ID. |
folderName | string | No | — | Folder name to find and list files from (exact match, uses first result). Simpler than folderId - no need to call find_by_name first. |
pageSize | string | No | — | Maximum number of files to retrieve |
google-drive_download_file
Download a file from Google Drive and store it as an artifact. Returns a link to the stored file, metadata, and a text preview for supported types (PDF, DOCX, XLSX, PPTX). NOT for Google Docs/Sheets - use their respective MCPs Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | Google Drive file ID to download |
stream | boolean | No | true | RECOMMENDED: true (default). Returns downloadUrl + auth headers for streaming. Set to false only for small files (<2MB) requiring immediate base64 content. |
filename | string | No | — | Custom filename for the downloaded file |
extractText | boolean | No | true | Automatically extracts text from supported formats (PDF, DOCX, PPTX, XLSX) and includes it in the response. Text files do not need extraction. Set to false to skip extraction. |
google-drive_create_folder
Create a new folder in Google Drive Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | Name of the new folder |
parentId | string | No | — | ID of the parent folder (if not specified, folder will be created in root) |
driveId | string | No | — | ID of the shared drive (for shared drive folders) |
google-drive_move_file
Move a file to a different folder in Google Drive Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | ID of the file to move |
newParentId | string | Yes | — | ID of the destination folder |
removeFromParents | string[] | No | — | Array of parent folder IDs to remove from (if not specified, removes from all current parents) |
google-drive_copy_file
Copy a file in Google Drive Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | ID of the file to copy |
name | string | No | — | Name for the copied file (if not specified, uses original name with “Copy of” prefix) |
parentId | string | No | — | ID of the folder where the copy should be placed |
google-drive_add_file_sharing
Add sharing permission to a file or folder in Google Drive Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | ID of the file or folder to share |
role | string | Yes | — | Role to grant (reader, writer, commenter, or owner) |
type | string | Yes | — | Type of grantee (user, group, domain, or anyone) |
emailAddress | string | No | — | Email address (required for user or group type) |
domain | string | No | — | Domain name (required for domain type) |
sendNotificationEmail | boolean | No | true | Whether to send notification email to the grantee |
google-drive_create_file_from_text
Create a new file from text content in Google Drive Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | Name of the new file |
content | string | Yes | — | Text content for the file |
mimeType | string | No | "text/plain" | MIME type of the file (default: text/plain) |
parentId | string | No | — | ID of the parent folder (if not specified, file will be created in root) |
google-drive_add_comment
Add a comment to a file in Google Drive Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | ID of the file to comment on |
content | string | Yes | — | Content of the comment |
anchor | string | No | — | Anchor for the comment (for specific location in document) |
google-drive_list_comments
List comments on a file in Google Drive Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | ID of the file to list comments for |
includeDeleted | boolean | No | false | Whether to include deleted comments |
pageSize | string | No | 20 | Maximum number of comments to return |
google-drive_reply_to_comment
Reply to an existing comment on a Google Drive file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | ID of the file |
commentId | string | Yes | — | ID of the comment to reply to |
content | string | Yes | — | Reply text |
google-drive_resolve_comment
Mark a comment as resolved on a Google Drive file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | ID of the file |
commentId | string | Yes | — | ID of the comment to resolve |
google-drive_delete_comment
Delete a comment from a Google Drive file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | ID of the file |
commentId | string | Yes | — | ID of the comment to delete |
google-drive_create_from_template
Create a new Google Drive file (Docs, Sheets, Slides, etc.) from an existing template. Optionally apply text replacements for Google Docs files (e.g., {{NAME}} -> “John Doe”). Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
templateId | string | Yes | — | File ID of the template to copy |
newTitle | string | Yes | — | Title for the new file |
replacements | object | No | — | Key-value pairs for text replacements (Google Docs only). Example: {“{{NAME}}”: “John Doe”, “{{DATE}}”: “2024-01-15”} |
parentFolderId | string | No | — | Folder ID to create the file in (default: Drive root) |
google-drive_move_to_trash
Move a file to trash in Google Drive (soft delete) Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | ID of the file to move to trash |
google-drive_update_file
Update file metadata in Google Drive Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | ID of the file to update |
name | string | No | — | New name for the file |
description | string | No | — | New description for the file |
starred | boolean | No | — | Whether to star or unstar the file |
google-drive_get_current_user
Get current user information and storage quotagoogle-drive_upload_csv_as_sheet
Upload a CSV file from a URL and convert it to a Google Sheet. The CSV content is automatically converted to Google Sheets format. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
csvUrl | string | Yes | — | URL of the CSV file to upload and convert |
sheetName | string | Yes | — | Name for the new Google Sheet |
folderId | string | No | — | Google Drive folder ID to upload the sheet to |
google-drive_list_trigger_capabilities
List available trigger capabilities for Google Drivegoogle-drive_poll_trigger
Poll Google Drive for new or removed items. Can monitor entire Drive or a specific file/folder URL. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
eventTypes | string[] | No | ["new_item","item_removed"] | Event types to monitor. “new_item” for new files/folders added, “item_removed” for files/folders deleted or trashed. Defaults to both if not specified. |
url | string | No | — | Optional: Google Drive URL to monitor. If provided, monitors only that specific file or folder. If not provided, monitors entire Drive. Supports file URLs (e.g., https://drive.google.com/file/d/FILE_ID/view) and folder URLs (e.g., https://drive.google.com/drive/folders/FOLDER_ID) |
cursor | string | No | — | Cursor from previous poll for incremental sync |
minTimestamp | number | No | — | Unix timestamp in seconds - never fetch items older than this |
maxResults | number | No | 100 | Maximum number of changes to return |

