Skip to main content
The Google Docs toolkit lets agents read and edit Google Documents, search Drive for Docs, create documents (including from templates), apply formatting, and insert tables or page breaks. Authentication is per-user OAuth — each user connects their own Google account. Add it on the agent Toolkits tab. The first use prompts the user to connect Google if they have not already. Docs shares the Google Workspace OAuth connection with Gmail, Drive, Sheets, Calendar, and related Google toolkits.

Prerequisites

  • A Google account with access to the Docs the agent should use
  • An agent you can edit
  • Google OAuth configured for your organization (admin)
  • Users who will chat with the agent must complete the Google OAuth connect flow when prompted

Setup

  1. Open the agent → Toolkits → add Google Docs.
  2. Optionally enable or disable individual tools in toolkit config.
  3. Save the agent. In Chat, connect Google when prompted.
  4. @-mention Docs tools in the personality prompt for document read/write tasks.

Available tools

Use cases

  • Summarize or extract sections from a shared policy or brief
  • Draft a new Doc from chat, then append revisions
  • Clone a template and fill placeholders for proposals or reports
  • Search Drive for Docs by topic before editing

Tips

  • Index positions follow the Google Docs API (1-based).
  • Search, create, template copy, and delete use Drive — the connected user needs Drive access to those files.
  • Markdown export is best-effort (headings, lists, bold/italic, links, basic tables).
  • Access is limited to what the connected Google user can open — not a shared service account unless that account connects.
  • For spreadsheets, files, or slides, use Google Sheets, Google Drive, or Google Slides.

Troubleshooting