[PR #422] [CLOSED] Adding Google Drive Tools #1355

Closed
opened 2026-02-16 10:22:42 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/422
Author: @yoshiki-0428
Created: 3/10/2025
Status: Closed

Base: mainHead: main


📝 Commits (10+)

📊 Changes

21 files changed (+1584 additions, -0 deletions)

View changed files

tools/google_drive/.difyignore (+178 -0)
tools/google_drive/.env.example (+4 -0)
tools/google_drive/.gitignore (+171 -0)
tools/google_drive/GUIDE.md (+117 -0)
tools/google_drive/PRIVACY.md (+53 -0)
tools/google_drive/README.md (+146 -0)
tools/google_drive/_assets/icon.svg (+8 -0)
tools/google_drive/drive_utils.py (+245 -0)
tools/google_drive/main.py (+6 -0)
tools/google_drive/manifest.yaml (+33 -0)
tools/google_drive/provider/google_drive.py (+41 -0)
tools/google_drive/provider/google_drive.yaml (+38 -0)
tools/google_drive/requirements.txt (+6 -0)
tools/google_drive/tools/create_file.py (+141 -0)
tools/google_drive/tools/create_file.yaml (+74 -0)
tools/google_drive/tools/create_folder.py (+41 -0)
tools/google_drive/tools/create_folder.yaml (+44 -0)
tools/google_drive/tools/file_search.py (+57 -0)
tools/google_drive/tools/file_search.yaml (+70 -0)
tools/google_drive/tools/folder_search.py (+54 -0)

...and 1 more files

📄 Description

Adding Google Drive Tools

This PR updates the Google Drive tools to make them easier to use and more reliable.

What's Included

  1. File Search Tool

    • Search for files in Google Drive
    • Added clear success messages
  2. Folder Search Tool

    • Find folders in Google Drive
    • Better response messages
  3. Create File Tool

    • Upload files to Google Drive
    • Better handling when folders don't exist
    • Added success messages
  4. Create Folder Tool

    • Make new folders in Google Drive
    • Simpler code with better error messages

All tools work the same way as before, just more reliably.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/422 **Author:** [@yoshiki-0428](https://github.com/yoshiki-0428) **Created:** 3/10/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`8df8e7e`](https://github.com/langgenius/dify-official-plugins/commit/8df8e7e74fbe1a0cc716711e5dbc78c3255f3a27) add google_drive - [`ef5add9`](https://github.com/langgenius/dify-official-plugins/commit/ef5add994dec66c08fef0e33ffcde8c9b042259f) feat:save google drive credential - [`9a4ed13`](https://github.com/langgenius/dify-official-plugins/commit/9a4ed13d1e07efdec785c06ab724a4744c58a784) add google_drive feature - [`f914bf2`](https://github.com/langgenius/dify-official-plugins/commit/f914bf21f77e1428649ff83793a008da314b92fc) fix - [`2e02bd0`](https://github.com/langgenius/dify-official-plugins/commit/2e02bd062481af5b9197bfa513c0dd0327b0272b) add parent id option for search folder - [`eafd1ea`](https://github.com/langgenius/dify-official-plugins/commit/eafd1ea81f14838a51b4132e5d8253c4edd91cc0) add file search feature - [`15170ab`](https://github.com/langgenius/dify-official-plugins/commit/15170abd2cc915ce5ec93bd96bcaf2818cb430e4) add create file and folder features - [`73c6ee9`](https://github.com/langgenius/dify-official-plugins/commit/73c6ee9da22138506ab34b79de39171a68c53783) update svg - [`59766c4`](https://github.com/langgenius/dify-official-plugins/commit/59766c47c6b6ba01bb356f71bb0032544bbcf5f2) update google drive create file - [`12c1828`](https://github.com/langgenius/dify-official-plugins/commit/12c182882027c30925125fecb24553822a6161b0) del ### 📊 Changes **21 files changed** (+1584 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `tools/google_drive/.difyignore` (+178 -0) ➕ `tools/google_drive/.env.example` (+4 -0) ➕ `tools/google_drive/.gitignore` (+171 -0) ➕ `tools/google_drive/GUIDE.md` (+117 -0) ➕ `tools/google_drive/PRIVACY.md` (+53 -0) ➕ `tools/google_drive/README.md` (+146 -0) ➕ `tools/google_drive/_assets/icon.svg` (+8 -0) ➕ `tools/google_drive/drive_utils.py` (+245 -0) ➕ `tools/google_drive/main.py` (+6 -0) ➕ `tools/google_drive/manifest.yaml` (+33 -0) ➕ `tools/google_drive/provider/google_drive.py` (+41 -0) ➕ `tools/google_drive/provider/google_drive.yaml` (+38 -0) ➕ `tools/google_drive/requirements.txt` (+6 -0) ➕ `tools/google_drive/tools/create_file.py` (+141 -0) ➕ `tools/google_drive/tools/create_file.yaml` (+74 -0) ➕ `tools/google_drive/tools/create_folder.py` (+41 -0) ➕ `tools/google_drive/tools/create_folder.yaml` (+44 -0) ➕ `tools/google_drive/tools/file_search.py` (+57 -0) ➕ `tools/google_drive/tools/file_search.yaml` (+70 -0) ➕ `tools/google_drive/tools/folder_search.py` (+54 -0) _...and 1 more files_ </details> ### 📄 Description # Adding Google Drive Tools This PR updates the Google Drive tools to make them easier to use and more reliable. ## What's Included 1. **File Search Tool** - Search for files in Google Drive - Added clear success messages 2. **Folder Search Tool** - Find folders in Google Drive - Better response messages 3. **Create File Tool** - Upload files to Google Drive - Better handling when folders don't exist - Added success messages 4. **Create Folder Tool** - Make new folders in Google Drive - Simpler code with better error messages All tools work the same way as before, just more reliably. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:22:42 -05:00
yindo closed this issue 2026-02-16 10:22:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1355