Integrations
Prebuilt Toolkits
Google
Drive

Drive

Description: Enable agents to interact with Google Drive.

Author: Arcade AI

Code: GitHub

Auth: OAuth2

PyPI VersionLicensePython VersionsWheel StatusDownloads

The Arcade AI Drive toolkit provides a pre-built set of tools for interacting with Google Drive. These tools make it easy to build agents and AI apps that can:

  • List Google documents in the user's Google Drive

Install

pip install arcade_google

Available Tools

Tool NameDescription
ListDocumentsList documents in the user's Google Drive.

If you need to perform an action that's not listed here, you can get in touch with us to request a new tool, or create your own tools with the Google auth provider.

ListDocuments


List documents in the user's Google Drive. Excludes documents that are in the trash.

Parameters

  • corpora (enum (Corpora), optional) The source of files to list. Defaults to Corpora.USER.
  • title_keywords (list[str], optional) Keywords or phrases that must be in the document title. Defaults to None.
  • order_by (enum (OrderBy), optional) Sort order. Defaults to OrderBy.MODIFIED_TIME_DESC.
  • supports_all_drives (bool, optional) Whether the requesting application supports both My Drives and shared drives. Defaults to False.
  • limit (int, optional) The number of documents to list. Defaults to 50.

Auth

The Arcade AI Drive toolkit uses the Google auth provider to connect to users' Google accounts.

With the hosted Arcade Engine, there's nothing to configure. Your users will see Arcade AI (demo) as the name of the application that's requesting permission.

The hosted Arcade Engine is intended for demo and testing purposes only, not for production use. To use Arcade AI and Google Drive in production, you must use a self-hosted instance of the Arcade Engine.

With a self-hosted installation of Arcade AI, you need to configure the Google auth provider with your own Google app credentials.