Google Drive: File Access & Management
PocketPaw can manage your Google Drive files with four tools: list, download, upload, and share.
Setup
- Set up Google OAuth credentials
- Enable the Google Drive API in your Google Cloud project
- Authorize PocketPaw to access your Drive
Tools
gdrive_list
List files in your Drive or a specific folder:
User: What files are in my Drive's project folder?Agent: [uses gdrive_list] → Found 5 files: 1. Project Plan.docx (Google Doc) 2. Budget.xlsx (Google Sheet) 3. Logo.png (Image) 4. Meeting Notes/ (Folder) 5. Presentation.pptx (Google Slides)gdrive_download
Download a file from Drive to local filesystem:
User: Download the Budget.xlsx fileAgent: [uses gdrive_download] → Downloaded to ~/Downloads/Budget.xlsxgdrive_upload
Upload a local file to Drive:
User: Upload report.pdf to the project folderAgent: [uses gdrive_upload] → Uploaded report.pdf to "Project" foldergdrive_share
Share a file with someone:
User: Share the project plan with [email protected]Agent: [uses gdrive_share] → Shared "Project Plan" with [email protected] (editor)Policy Group
All Drive tools belong to group:drive.
Required Scopes
drive.readonly— For listing and downloadingdrive.file— For uploading and sharing
Related
Google Docs
Read, create, and search Google Docs with your AI agent.
Gmail Integration
Search, read, and send emails through your Gmail account.
OAuth Framework
How PocketPaw handles Google OAuth tokens and refresh flows.
Was this page helpful?