DocsIntegrationsGoogle Drive

Google Drive

Tool set: google_driveDefault: DisabledRequires: Google OAuth Credentials

Connect your agent to Google Drive to search, read, create, and manage files and folders. Your agent can access Google Docs, Sheets, PDFs, text files, and more.

Setup

Use the same Google Cloud project as Calendar/Sheets. Enable the Google Drive API and generate a refresh token with the https://www.googleapis.com/auth/drive scope. You can reuse the same Client ID and Secret.

Tools

ToolDescription
gdrive_searchSearch files by name or content with optional MIME type filter
gdrive_list_filesList files in a folder (defaults to root)
gdrive_read_fileRead text content — Docs export as text, Sheets as CSV
gdrive_create_fileCreate Google Docs, Sheets, folders, or text files
gdrive_move_fileMove files between folders or rename them
gdrive_delete_fileMove a file to trash (recoverable)

Reading Files

Google Workspace files (Docs, Sheets, Slides) are automatically exported to readable formats. Regular files (txt, csv, json, etc.) are downloaded directly. Very large files are truncated to 15,000 characters.

Events

EventWhen
gdrive.file_createdA new file or folder is created
gdrive.file_deletedA file is moved to trash

Example

User: "Find the Q1 report in my Drive and summarize it"

Agent: Searches Drive for "Q1 report", reads the document content, and provides a summary.

Integration Ideas

Pair with Google Sheets for data workflows. Use with Scheduled Actions to generate weekly report documents. Combine with Slack to share Drive links in channels.