Connect Google Drive to AI agents

Connect Google Drive to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

update_permission

Update Permission

Change the role of an existing permission on a file or folder. Use **List Permissions** to find the permission ID.

export_file

Export File

Export a Google Workspace file (Docs, Sheets, Slides, Drawings) to a standard format such as PDF, DOCX, XLSX, CSV, or plain text. Only works with Google Workspace native formats — for regular files use the **Download File** tool.

delete_comment

Delete Comment

Delete a comment from a file. This removes the comment permanently.

reply_to_comment

Reply to Comment

Add a reply to an existing comment thread on a file. Can also resolve or reopen the comment thread by setting the action field.

upload_file

Upload File

Upload a file with content to Google Drive. Provide file content as plain text or base64-encoded string. The file will be created with the given name, metadata MIME type, and optional parent folder.

list_permissions

List Permissions

List all permissions (sharing settings) for a file or folder. Shows who has access and their role (owner, writer, commenter, reader).

create_comment

Create Comment

Add a comment to a file. Optionally quote specific content from the file that the comment relates to.

copy_file

Copy File

Create a copy of an existing file in Google Drive. Optionally provide a new name and destination folder for the copy.

share_file

Share File

Share a file or folder with a user, group, domain, or make it accessible to anyone with a link. Assigns a specific role (reader, commenter, writer, or owner) to the grantee.

create_shared_drive

Create Shared Drive

Create a new shared drive for team collaboration. Requires Google Workspace admin privileges.

list_shared_drives

List Shared Drives

List all shared drives the authenticated user has access to. Optionally filter by name query.

create_file

Create File or Folder

Create a new file or folder in Google Drive. To create a folder, set `mimeType` to `application/vnd.google-apps.folder`. To create a Google Doc, Sheet, or Slides, use the appropriate Google Workspace MIME type. Specify parent folder IDs to place the file in a specific location.

list_comments

List Comments

List all comments on a file, including threaded replies. Shows comment content, author, timestamps, and resolution status.

remove_permission

Remove Permission

Remove a permission (revoke access) from a file or folder. Use **List Permissions** to find the permission ID.

list_revisions

List Revisions

List the revision history of a file. Shows all saved versions with timestamps, who modified them, and file sizes.

download_file

Download File

Download a **non–Google Workspace** file from Drive as an attachment. For Docs, Sheets, or Slides, use **Export File** instead.

get_file

Get File

Retrieve detailed metadata for a specific file or folder by its ID. Returns comprehensive information including name, MIME type, size, ownership, timestamps, sharing status, and links.

update_file

Update File

Update a file or folder's metadata in Google Drive. Can rename, change description, star/unstar, trash/restore, or move between folders. To move a file, specify both `addParentIds` and `removeParentIds`.

search_files

Search Files

Search for files and folders in Google Drive using queries. Supports filtering by name, MIME type, parent folder, ownership, modification date, shared status, and trashed state. Use the `query` field with Google Drive query syntax (e.g. `name contains 'report'`, `mimeType = 'application/pdf'`, `'folderId' in parents`). Results can be ordered and paginated.

delete_file

Delete File

Permanently delete a file or folder from Google Drive. This action is irreversible. To move a file to trash instead (recoverable), use the **Update File** tool with `trashed: true`.

delete_shared_drive

Delete Shared Drive

Delete a shared drive. The shared drive must be empty before it can be deleted.

update_shared_drive

Update Shared Drive

Update a shared drive's name or restrictions.

More integrations teams use with Google Drive

Slack

Slack: connect with bot OAuth or user OAuth. Send, update, delete, and schedule messages; list and cancel scheduled messages; open DMs and group DMs; manage conversations, members, files, reactions, pins, bookmarks, reminders, user groups, and user status; search messages and files with user scopes; and retrieve user, conversation, and workspace info.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Subscribe to webhook notifications for changes to messages, calendar events, and contacts. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Discord

Send, edit, and delete messages in channels. Manage servers (guilds), channels, roles, members, invites, webhooks, threads, scheduled events, auto moderation rules, audit logs, application commands, and custom guild emojis. Add or remove users, assign roles, kick or ban members, and receive supported message, guild, channel, member, and inbound webhook triggers.

Technical notes for Google Drive

Upload, download, create, copy, move, rename, trash, and permanently delete files and folders in Google Drive. Search for files using complex queries filtering by name, MIME type, owner, modification date, labels, and other metadata. Share files and folders with specific users, groups, or domains with role-based permissions (owner, writer, commenter, reader). Manage shared drives and their members. Export Google Workspace files (Docs, Sheets, Slides) to standard formats like PDF, DOCX, and XLSX. Track file revision history and restore earlier versions. Create, read, update, and delete threaded comments and replies on files. Apply and read custom labels on files. Monitor file and folder changes via push notifications or webhook subscriptions. Store app-specific data in a hidden per-user folder.

Connect Google Drive to production AI agents

See how Metorial gives Google Drive access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Google Drive to AI agents with Metorial.

  1. Can Metorial connect Google Drive to AI agents?
    Yes. Metorial connects AI agents to Google Drive through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.