Weavz
Google Docs

Google Docs

Create and edit documents with Google Docs

5 tools
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Tools

Name
get_document

Get the content and metadata of a Google Doc

create_document

Create a new Google Doc

batch_update

Apply a batch of updates to a Google Doc (insert text, delete content, format, etc.)

insert_text

Insert text into a Google Doc at a specified index

custom_api_call

Make a custom API call to the Google Docs API

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('google-docs', 'get_document', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'google-docs',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Google Docs to my app?

Use Weavz Hosted Connect for OAuth2 authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does Google Docs support?

Google Docs supports 5 tools including Get Document, Create Document, Batch Update, Insert Text, Custom API Call.

Can I use Google Docs with AI agents?

Yes. Add Google Docs to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

How do I connect Google Docs to ChatGPT or Claude?

Open the Weavz connector setup, sign in, choose a workspace, and add Google Docs as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped Google Docs tools exposed by that workspace.

Does Google Docs work with Claude Code, Cursor, Codex, and local agents?

Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved Google Docs work, and execute Code Mode workflows from a terminal.

What can I ask an AI agent to do with Google Docs?

Google Docs exposes 5 tools, including Get Document, Create Document, Batch Update, Insert Text, Custom API Call. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.

Can Google Docs be used in stateful agent workflows?

Yes. Agents can combine Google Docs tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does Google Docs use?

Google Docs uses OAuth2. Weavz stores OAuth credentials securely and refreshes tokens when supported by the provider.

How much does the Google Docs integration cost?

The Google Docs integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

Connect Google Docs in minutes

Get 20,000 free action executions every month. No credit card required.