> **Building with AI coding agents?** If you're using an AI coding agent, install the official Scalekit plugin. It gives your agent full awareness of the Scalekit API — reducing hallucinations and enabling faster, more accurate code generation.
>
> - **Claude Code**: `/plugin marketplace add scalekit-inc/claude-code-authstack` then `/plugin install <auth-type>@scalekit-auth-stack`
> - **GitHub Copilot CLI**: `copilot plugin marketplace add scalekit-inc/github-copilot-authstack` then `copilot plugin install <auth-type>@scalekit-auth-stack`
> - **Codex**: run the bash installer, restart, then open Plugin Directory and enable `<auth-type>`
> - **Skills CLI** (Windsurf, Cline, 40+ agents): `npx skills add scalekit-inc/skills --list` then `--skill <skill-name>`
>
> `<auth-type>` / `<skill-name>`: `agent-auth`, `full-stack-auth`, `mcp-auth`, `modular-sso`, `modular-scim` — [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# 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 |

---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
