ToolkitsProductivity & DocsGoogleDrive

Drive

Description: Enable agents to interact with Google Drive.

Author: Arcade

Code: GitHub

Auth: User authorization via the Google auth provider

Note: This Toolkit is not available in Arcade Cloud. You can use these tools with a self-hosted instance of Arcade.

PyPI VersionLicensePython VersionsWheel StatusDownloads

The Arcade 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. Note: This tool currently requires a self-hosted instance of Arcade.

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 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 (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 and Google Drive in production, you must use a self-hosted instance of the Arcade Engine.

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