Google Drive

Tools for searching and reading content from Google Drive files (Docs, Sheets, Presentations, text files)


📘

This tool uses personal credentials.

This tool interact with Gmail using the user's account: it adapts to each user.

Admin: Setup in Dust

Go to Spaces > Administration > Tools in your Dust workspace, click Add Tools, and select Google Drive. Fill in your Client ID & Secret.

You will then be redirected to an oAuth flow to connect an admin Google Drive Account. This account only be used during the set up and users won't be able to query Google Drive from this account.

By default this tool is added to the Company data Space, so accessible in all the workspace.

Usage

Once the tool has been configured by the admin as described before, it can be selected on any agent: in the Agent Builder, simply click on Add Tool and select Google Drive.

When users use an agent with the Google Drive tool for the first time, they will get a notification to click on the Connect button to connect their own Google Drive credentials.

Available Tools

List Drives List all shared drives accessible by the user.

Search Files Search for files in Google Drive. Can search in personal drive, all shared drives, or a specific drive.

Get File Content Get the content of a Google Drive file with offset-based pagination. Supported mimeTypes: application/vnd.google-apps.document, application/vnd.google-apps.presentation, text/plain, text/markdown, text/csv.

Limitations

  • The tool is currently limited to read actions. You are not able to write to your Google drive.
  • The tool does not perform semantic search on your document content. If your use case requires searching through your Google Drives based on the context of your message, it is strongly recommended to use the Google Drive Connection with our RAG capability.
  • The tool does not return content for all file types. Please see the list above for the available file types.