Google Docs for AI agents

Google Docs is a cloud word processor with real-time collaboration and version history, part of Google Workspace. Office and operations staff use it to keep documents moving without manual reformatting. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

DocumentsOAuth 2.0MCP + RESTdocs.google.com
AUDIT LOG · GOOGLE DOCSPOLICY: acme-support
09:41:07 · claude · u_8f2read
google_docs.list_spreadsheet_charts
Get Charts from Spreadsheet✓ allowed · 212ms
09:41:08 · claude · u_8f2read
google_docs.search_documents
Search Documents✓ allowed · 164ms
09:41:09 · claude · u_8f2write
google_docs.create_tab
Create Document Tab✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
google_docs.delete_tab
Delete Tab✕ blocked · policy: deny
EVERY GOOGLE DOCS CALL, ON THE RECORD
01 · USE CASES

What agents do in Google Docs.

01

Draft a document from notes

Create a new document and insert formatted text from a set of meeting notes.

02

Read a document's contents

Pull the plain text of an existing doc to summarize it or answer a question about it.

03

Insert a table into a doc

Insert and populate a table in a document to lay out a comparison for a proposal.

02 · ACTIONS

43 Google Docs actions, graded by risk.

Every Google Docs action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

6

Look things up. Allowed by default.

  • google_docs.search_documents
    Search Documents
  • google_docs.get_document_by_id
    Get document by id
  • google_docs.get_document_end_index
    Get Document End Index
  • google_docs.get_document_plaintext
    Get document plain text
  • google_docs.list_spreadsheet_charts
    Get Charts from Spreadsheet
  • google_docs.export_document_as_pdf
    Export Google Doc as PDF

write

29

Create and change things. Allow, or ask the user first.

  • google_docs.create_tab
    Create Document Tab
  • google_docs.create_footer
    Create Footer
  • google_docs.create_header
    Create Header
  • google_docs.create_document
    Create a document
  • google_docs.create_footnote
    Create Footnote
  • google_docs.create_document2
    Create blank document (Deprecated)
  • google_docs.create_named_range
    Create Named Range
  • google_docs.update_document_batch
    Update Document Batch (Deprecated)
  • google_docs.update_document_style
    Update Document Style
  • google_docs.update_tab_properties
    Update Tab Properties
  • google_docs.update_table_row_style
    Update Table Row Style
  • google_docs.create_document_markdown
    Create Document Markdown
  • google_docs.create_paragraph_bullets
    Create Paragraph Bullets
  • google_docs.update_document_markdown
    Update Document Markdown
  • google_docs.update_existing_document
    Update existing document
  • google_docs.create_and_populate_table
    Create and Populate Table in Google Doc
+ 13 MORE

destructive

8

Delete, cancel or archive. Ask first, or deny outright.

  • google_docs.delete_tab
    Delete Tab
  • google_docs.delete_footer
    Delete Footer
  • google_docs.delete_header
    Delete Header
  • google_docs.delete_table_row
    Delete Table Row
  • google_docs.delete_named_range
    Delete Named Range
  • google_docs.delete_table_column
    Delete Table Column
  • google_docs.delete_content_range
    Delete Content Range in Document
  • google_docs.delete_paragraph_bullets
    Delete Paragraph Bullets
03 · HOW IT WORKS

Google Docs in three steps.

  1. 01Your users connect Google DocsThey sign in to Google Docs on Arc0 Connect, under your brand, and approve the access you ask for.
  2. 02You set the rulesReads run, writes like “create Document Tab” can wait for the user, and “delete Tab” can be denied outright.
  3. 03Any agent can actYour agent calls Google Docs through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('google_docs', {
  read: 'allow',
  write: 'ask',        // create_tab
  destructive: 'deny',  // delete_tab
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Google Docs connects.

Users sign in to Google Docs on Arc0 Connect and approve the scopes you request. Build with Arc0’s Google Docs OAuth app, or bring your own so the Google Docs consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

The same Google Docs connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
OAuth 2.0
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Google Docs from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Google Docs and Arc0, answered.

Q01

Can I use Google Docs with Claude, ChatGPT or Cursor?

Yes. Connect Google Docs to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Google Docs actions you allow.

Q02

How do users connect Google Docs?

Users sign in to Google Docs on Arc0 Connect and approve the scopes you request. Build with Arc0’s Google Docs OAuth app, or bring your own so the Google Docs consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

Q03

Which Google Docs actions can my agent take?

43 in total: 6 read, 29 write and 8 destructive, such as “create Document Tab”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Google Docs?

Yes. Actions like “delete Tab” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Google Docs too?

Yes. The same Google Docs connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Google Docs into your agent.

Your users connect Google Docs once, under your brand. Your agent gets 43 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan