# Google Drive

<div class="grid grid-cols-5 gap-4 items-center">
 <div class="col-span-4">
  Connect to Google Drive. Manage files, folders, and sharing permissions
 </div>
 <div class="flex justify-center">
  <img src="https://cdn.scalekit.cloud/sk-connect/assets/provider-icons/google_drive.svg" width="64" height="64" alt="Google Drive logo" />
 </div>
</div>

Supports authentication: OAuth 2.0

## Usage

<UsageGoogledriveSection />

## Tool list

## `googledrive_get_file_metadata`

Retrieve metadata for a specific file in Google Drive by its file ID. Returns name, MIME type, size, creation time, and more.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `fields` | string | No | Fields to include in the response |
| `file_id` | string | Yes | The ID of the file to retrieve metadata for |
| `schema_version` | string | No | Optional schema version to use for tool execution |
| `supports_all_drives` | boolean | No | Support shared drives |
| `tool_version` | string | No | Optional tool version to use for execution |

## `googledrive_search_content`

Search inside the content of files stored in Google Drive using full-text search. Finds files where the body text matches the search term.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `fields` | string | No | Fields to include in the response |
| `mime_type` | string | No | Filter results by MIME type |
| `page_size` | integer | No | Number of files to return per page |
| `page_token` | string | No | Token for the next page of results |
| `schema_version` | string | No | Optional schema version to use for tool execution |
| `search_term` | string | Yes | Text to search for inside file contents |
| `supports_all_drives` | boolean | No | Include shared drives in results |
| `tool_version` | string | No | Optional tool version to use for execution |

## `googledrive_search_files`

Search for files and folders in Google Drive using query filters like name, type, owner, and parent folder.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `fields` | string | No | Fields to include in the response |
| `order_by` | string | No | Sort order for results |
| `page_size` | integer | No | Number of files to return per page |
| `page_token` | string | No | Token for the next page of results |
| `query` | string | No | Drive search query string |
| `schema_version` | string | No | Optional schema version to use for tool execution |
| `supports_all_drives` | boolean | No | Include shared drives in results |
| `tool_version` | string | No | Optional tool version to use for execution |