Google Drive
Description: Enable agents to interact with GoogleDrive
Author: Arcade
Auth: User authorization
The GoogleDrive Server provides a set of for interacting with Google Drive, enabling to efficiently manage and access their files. With this MCP Sever, users can:
- Retrieve the file and folder structure of their Google Drive.
- Generate a Google File Picker URL for -driven file selection and authorization, allowing secure access to files.
- Search for specific files within Google Drive.
Available Tools
| Tool Name | Description |
|---|---|
| GoogleDrive.WhoAmI | Get comprehensive user profile and Google Drive environment information. |
| GoogleDrive.GetFileTreeStructure | Get the file/folder tree structure of the user's Google Drive. |
| GoogleDrive.GenerateGoogleFilePickerUrl | Generate a Google File Picker URL for user-driven file selection and authorization. |
| GoogleDrive.SearchFiles | Search for files in Google Drive |
If you need to perform an action that’s not listed here, you can get in touch with us to request a new , or create your own tools.
GoogleDrive.WhoAmI
Get comprehensive profile and Google Drive environment information.
Parameters
This does not take any parameters.
GoogleDrive.GetFileTreeStructure
Get the file/folder tree structure of the ’s Google Drive.
Parameters
- include_shared_drives (
boolean, optional) Whether to include shared drives in the file tree structure. Defaults to False. - restrict_to_shared_drive_id (
string, optional) If provided, only include files from this shared drive in the file tree structure. Defaults to None, which will include files and folders from all drives. - include_organization_domain_documents (
boolean, optional) Whether to include documents from the organization’s domain. This is applicable to admin users who have permissions to view organization-wide documents in a Google Workspace . Defaults to False. - order_by (
EnumOrderBy, optional) Sort order. Defaults to listing the most recently modified documents first - limit (
integer, optional) The number of files and folders to list. Defaults to None, which will list all files and folders.
GoogleDrive.GenerateGoogleFilePickerUrl
Generate a Google File Picker URL for -driven file selection and authorization.
Parameters
This does not take any parameters.
GoogleDrive.SearchFiles
Search for files in Google Drive
Parameters
- query (
string, required) The search query to use to find files in Google DriveThis can include document titles or body content. - include_shared_drives (
boolean, optional) Whether to include shared drives in the search. Defaults to False. - restrict_to_shared_drive_id (
string, optional) If provided, only search files from this shared drive. Defaults to None, which will search files from all drives. - include_organization_domain_documents (
boolean, optional) Whether to include documents from the organization’s domain. This is applicable to admin users who have permissions to view organization-wide documents in a Google Workspace . Defaults to False. - order_by (
EnumOrderBy, optional) Sort order for search results. Defaults to listing the most recently modified documents first - limit (
integer, optional) The maximum number of search results to return. Defaults to 50. - file_types (
EnumGoogleDriveFileType, optional) Filter by specific file types. Defaults to None, which includes all file types.
Auth
The Arcade GoogleDrive Sever uses the Google auth provider to connect to users’ GoogleDrive . Please refer to the Google auth provider documentation to learn how to configure auth.