Tools
| Name | Description |
|---|---|
list_filesList files and folders in Google Drive | List files and folders in Google Drive |
get_fileGet metadata for a specific file | Get metadata for a specific file |
upload_fileUpload a text or JSON file to Google Drive (simple upload) | Upload a text or JSON file to Google Drive (simple upload) |
create_folderCreate a new folder in Google Drive | Create a new folder in Google Drive |
search_filesSearch for files in Google Drive using a query | Search for files in Google Drive using a query |
share_fileShare a file or folder with a specific user | Share a file or folder with a specific user |
delete_filePermanently delete a file from Google Drive | Permanently delete a file from Google Drive |
custom_api_callMake a custom API call to the Google Drive API | Make a custom API call to the Google Drive API |
Triggers
| Name | Description |
|---|---|
new_fileTriggers when a new file is added to Google Drive | Triggers when a new file is added to Google Drive |
file_updatedTriggers when a file is modified in Google Drive | Triggers when a file is modified in Google Drive |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('google-drive', 'list_files', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'google-drive',
input: { /* ... */ },
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect Google Drive to my app?
Use Weavz Hosted Connect for OAuth2 authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.
What tools does Google Drive support?
Google Drive supports 8 tools including List Files, Get File, Upload File, Create Folder, Search Files, and more.
Can I use Google Drive with AI agents?
Yes. Add Google Drive to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.
How do I connect Google Drive to ChatGPT or Claude?
Open the Weavz connector setup, sign in, choose a workspace, and add Google Drive as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped Google Drive tools exposed by that workspace.
Does Google Drive work with Claude Code, Cursor, Codex, and local agents?
Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved Google Drive work, and execute Code Mode workflows from a terminal.
What can I ask an AI agent to do with Google Drive?
Google Drive exposes 8 tools, including List Files, Get File, Upload File, Create Folder, Search Files, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.
Can Google Drive be used in stateful agent workflows?
Yes. Agents can combine Google Drive tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.
What authentication does Google Drive use?
Google Drive uses OAuth2. Weavz stores OAuth credentials securely and refreshes tokens when supported by the provider.
How much does the Google Drive integration cost?
The Google Drive integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.
What triggers does Google Drive support?
Google Drive supports 2 triggers including New File, File Updated.
Connect Google Drive in minutes
Get 20,000 free action executions every month. No credit card required.