Drive
Search files, read content, and create folders in Google Drive.
The Drive connector lets your AI assistant search across your Google Drive, read file contents, and organize files into folders.
Reading happens server-side: the text comes back in the response, so nothing is downloaded to a local filesystem and a large file does not have to pass through the conversation to be read.
Available operations
| Tool | Description |
|---|---|
drive_search |
Search files using Drive query syntax, e.g. name contains 'report' or mimeType='application/vnd.google-apps.spreadsheet'. Returns names, IDs, types and modification dates. page_size defaults to 20 |
drive_read_file |
Read a file's text content by file ID. Handles Google Docs, Sheets and Slides, Office .docx/.xlsx/.pptx (converted automatically), and .txt/.csv. Returns the extracted text directly, with no local download |
drive_create_folder |
Create a new folder, optionally inside a parent folder |
What drive_read_file can and cannot read
| Type | Read as |
|---|---|
| Google Docs, Sheets, Slides | Extracted text, the same extraction the dedicated tools use |
.docx, .xlsx, .pptx |
Converted to the matching Google format in a temporary copy, read, and the copy deleted |
.txt, .csv |
Returned as-is |
| Anything else, PDFs included | An Unsupported file type error |
PDFs are the common surprise: the tool reads text out of documents, not out of scanned or rendered pages.
Required scopes
https://www.googleapis.com/auth/drive
Multiple accounts
Every tool on this page takes an optional account argument: the email address
of the connected Google account to act on. Omit it and the default account is
used. Connect a personal and a work account and your assistant can read from
one and write to the other in the same turn, without you switching profiles.
Example prompts
- "Find the latest Q2 revenue deck in my Drive"
- "Read the contents of the onboarding checklist doc and summarize it"
- "Create a new folder called 'April Reports' inside my Reports folder"
- "Search Drive for all spreadsheets modified in the last week"
Try this on your own account
Connect Google Workspace once and your assistant can run every tool on this page against your real files. Free to start, no card.
Get started free