Back to tools

AI Agent Tool

Google Drive API logo

Google Drive API

REST API for programmatically managing files, permissions, and metadata in Google Drive.

Cloud Storage APICommunity

developers.google.com

•

One-click Login

About Google Drive API

The Google Drive API is a REST/RPC interface that lets developers create, read, update, and delete files stored in Google Drive, manage sharing permissions, watch for file changes, and work with Google Workspace file types. It is free to use within quota limits; Google announced in 2026 that exceeding quotas will incur charges later in the year, with at least 90 days notice before billing begins. It is widely used for automating document workflows, building integrations, and syncing files between services.

AI Agent Use Cases

- Create, upload, download, and delete files and folders in Google Drive

- Manage file sharing permissions and access controls

- Search and filter files using Drive query language

- Watch for real-time file change notifications via push notifications

- Export Google Workspace native formats (Docs, Sheets, Slides) to standard formats

- Resumable upload support for large files

Available Actions

These are the specific actions that AI agents can perform with this tool

Inputs

proposalId

The unique ID of the access proposal to retrieve.

Inputs

fields

Specifies which fields to include in a partial response.

Inputs

driveId

The shared drive from which changes will be returned. If specified, change IDs will reflect the shared drive.

includeCorpusRemovals

Whether to include file resource if the file is still accessible by the user.

includeItemsFromAllDrives

Whether to include both My Drive and shared drive items in the results.

includeRemoved

Include changes indicating that items have been removed.

pageSize

The maximum number of changes to return per page.

pageToken

Token for continuing a previous list request on the next page.

restrictToMyDrive

Restrict results to changes inside the My Drive hierarchy.

spaces

Comma-separated list of spaces to query within the corpora.

supportsAllDrives

Whether the request supports both My Drives and shared drives.

includePermissionsForView

Specifies additional view's permissions to include in the response.

includeLabels

Comma-separated list of IDs of labels to include in the response.

Inputs

id

A UUID or similar unique string that identifies the channel.

resourceId

An opaque ID that identifies the resource being watched on this channel.