# Google Docs

<div class="grid grid-cols-5 gap-4 items-center">
 <div class="col-span-4">
  Connect to Google Docs. Create, edit, and collaborate on documents
 </div>
 <div class="flex justify-center">
  <img src="https://cdn.scalekit.cloud/sk-connect/assets/provider-icons/google_docs.svg" width="64" height="64" alt="Google Docs logo" />
 </div>
</div>

Supports authentication: OAuth 2.0

## Usage

<UsageGoogledocsSection />

## Tool list

## `googledocs_create_document`

Create a new blank Google Doc with an optional title. Returns the new document's ID and metadata.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `schema_version` | string | No | Optional schema version to use for tool execution |
| `title` | string | No | Title of the new document |
| `tool_version` | string | No | Optional tool version to use for execution |

## `googledocs_read_document`

Read the complete content and structure of a Google Doc including text, formatting, tables, and metadata.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `document_id` | string | Yes | The ID of the Google Doc to read |
| `schema_version` | string | No | Optional schema version to use for tool execution |
| `suggestions_view_mode` | string | No | How suggestions are rendered in the response |
| `tool_version` | string | No | Optional tool version to use for execution |

## `googledocs_update_document`

Update the content of an existing Google Doc using batch update requests. Supports inserting and deleting text, formatting, tables, and other document elements.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `document_id` | string | Yes | The ID of the Google Doc to update |
| `requests` | `array<object>` | Yes | Array of update requests to apply to the document |
| `schema_version` | string | No | Optional schema version to use for tool execution |
| `tool_version` | string | No | Optional tool version to use for execution |
| `write_control` | `object` | No | Optional write control for revision management |