Drive
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 Name | Description |
---|---|
ListDocuments | List 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 toCorpora.USER
.title_keywords
(list[str], optional) Keywords or phrases that must be in the document title. Defaults toNone
.order_by
(enum (OrderBy), optional) Sort order. Defaults toOrderBy.MODIFIED_TIME_DESC
.supports_all_drives
(bool, optional) Whether the requesting application supports both My Drives and shared drives. Defaults toFalse
.limit
(int, optional) The number of documents to list. Defaults to50
.
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.