Storage

# Google Drive Connector

Connect to Google Drive to manage files and folders.

$pip install "toolsconnector[gdrive]"
22
Actions
Storage
Category
Free
Apache 2.0

## All 22 Actions

Action | Description | Parameters | Returns
--- | --- | --- | ---
`copy_file` | Copy a file | file_id [name] | `DriveFile`
`create_comment ⚠` | Create a comment on a file | file_id, content | `DriveComment`
`create_folder` | Create a folder in Google Drive | name [parent_folder_id, description] | `FolderId`
`delete_comment ⚠` | Delete a comment from a file | file_id, comment_id | `NoneType`
`delete_file ⚠` | Delete a file from Google Drive | file_id | `NoneType`
`delete_permission ⚠` | Delete a permission from a file | file_id, permission_id | `NoneType`
`download_file` | Download a file from Google Drive | file_id | `FileDownloadResult`
`empty_trash ⚠` | Empty the trash | — | `NoneType`
`export_file` | Export a Google Workspace file | file_id, mime_type | `str`
`get_file` | Get file metadata by ID | file_id | `DriveFile`
`get_permission` | Get a specific permission on a file | file_id, permission_id | `FilePermission`
`get_revision` | Get a specific revision of a file | file_id, revision_id | `DriveRevision`
`get_storage_quota` | Get storage quota information | — | `StorageQuota`
`list_comments` | List comments on a file | file_id [page_size, page_token] | `PaginatedList[DriveComment]`
`list_files` | List files in Google Drive | [page_size, order_by, page_token, folder_id] | `PaginatedList[DriveFile]`
`list_permissions` | List permissions on a file | file_id | `list`
`list_revisions` | List revisions of a file | file_id [page_size, page_token] | `PaginatedList[DriveRevision]`
`move_file` | Move a file to a different folder | file_id, new_parent_id | `DriveFile`
`search_files` | Search files in Google Drive | query [page_size, page_token] | `PaginatedList[DriveFile]`
`share_file ⚠` | Share a file with a user or group | file_id, email [role, type, send_notification, message] | `FilePermission`
`update_file` | Update file metadata | file_id [name, description, starred] | `DriveFile`
`upload_file` | Upload a file to Google Drive | name, content_base64 [mime_type, parent_folder_id, description] | `FileUploadResult`

Open Interactive Docs & Playground →

Full schema explorer, code generation, and live API testing