Overview
The Google Drive server enables AI assistants to interact with Google Drive, providing file storage, search, and management capabilities including support for shared drives through the Google Drive API.How to Add Google Drive
1
Add Server
Add the Google Drive server to your Nexus environment through the server directory.
2
Authorize
Simply log in with your Google account and approve the OAuth consent request. No admin approval needed.
3
Test Connection
Try “List my Google Drive files” to verify the connection works.
Simple OAuth Consent: Google Drive uses standard Google OAuth consent. Works with personal Google accounts and Google Workspace without special admin approval.
What You Can Do
File Search
Search files and folders with Drive query operators
File Access
Read content from Google Docs, Sheets, Office files, and more
File Organization
List and navigate folders in My Drive and shared drives
File Creation
Create new files with content or from URLs
Available Tools (4)
search_drive_files
search_drive_files
Search for files and folders using Google Drive search operators. Supports searching in My Drive, shared drives, and all accessible drives. Returns file details including ID, name, type, size, modified time, and Drive web link.
get_drive_file_content
get_drive_file_content
Retrieve content from files by ID. Automatically handles Google Docs, Sheets, Slides (exported as text/CSV), Office files (.docx, .xlsx, .pptx - parsed to extract text), and plain text files. Works with files in shared drives.
list_drive_items
list_drive_items
List files and folders in a specific location. Defaults to root folder but can list any folder including shared drive roots. Supports filtering to specific shared drives and configurable page sizes up to 100 items.
create_drive_file
create_drive_file
Create new files in Google Drive with direct content or by fetching from a URL. Supports custom MIME types and folder placement. Works in My Drive and shared drive folders.
Use Cases
File Search
“Find all PDF files modified in the last week” - Use Drive search operators to locate specific files.Content Reading
“Read the content of the project proposal document” - Extract text from Google Docs, Office files, or plain text.Shared Drive Access
“List all files in the Marketing shared drive” - Access team drives and shared folders.Folder Navigation
“Show me what’s in my Documents folder” - Browse folder contents programmatically.File Creation
“Create a new text file with meeting notes” - Generate files directly in Drive.URL Import
“Create a file from this web page content” - Fetch content from URLs and save to Drive.Office File Parsing
“Extract text from the budget spreadsheet” - Read content from .xlsx, .docx, .pptx files.Search Operators: Supports Google Drive query syntax including
name contains 'text', mimeType = 'application/pdf', modifiedTime > '2024-01-01'.File Types: Native Google files (Docs, Sheets, Slides) export as text/CSV. Office files are parsed to extract readable text. Binary files attempt UTF-8 decode.Shared Drives: Use drive_id parameter to specify shared drives. Set include_items_from_all_drives: true to search across all accessible drives.
