Connect
Google Docs, Sheets and Slides: connect each with Google sign-in to create and edit native files
TL;DR
Google Docs, Google Sheets and Google Slides connect on separate cards, each with its own Google permission. The agent has 4 reads and 6 writes on Docs, 5 reads and 10 writes on Sheets and 5 reads and 5 writes on Slides. Agent Planners never shares a file, changes who can open it, deletes or trashes it, moves it to another folder or adds protected ranges — do that in Google Drive. Google Cloud, Google Docs, Google Sheets and Google Slides are a pilot while Google reviews their permissions: today one workspace can connect them, and every other workspace sees the card as not available yet. Everything described here is built; it opens to more workspaces once Google verifies the permissions.
Connect step by step
- 1Open Integrations → Google Docs, Google Sheets or Google Slides → Connect. Each product connects on its own, so you can allow only the ones you want.
- 2Sign in with Google and allow the product permission Google shows (for example See, edit, create, and delete all your Google Docs documents), plus files you use with this app (drive.file) and your email address.
- 3If you untick the product permission on Google's screen, the card says so and asks you to Re-authorize; nothing is saved as connected.
- 4Each Google sign-in becomes its own connection. A teammate can connect their own Google account; the agent uses the signed-in person's own access to each file.
Re-authorize updates the same connection in place. Disconnect deletes the stored Google tokens (encrypted); the files stay in your Drive. You can also revoke access at myaccount.google.com/permissions.
Choosing an existing file
- Paste a link or id. The product permission opens any document, spreadsheet or deck your Google account can open — Google decides by the file's own sharing.
- Files the app made or was handed are listed by
list_documents,list_spreadsheetsandlist_presentations(the drive.file permission sees only those). A file you made yourself is not listed: give its link. - Templates:
copy_from_templatemakes a new file from a template the app made or was handed and fills its {{placeholders}}.
Google Docs tools
| Tool | Kind | What it does |
|---|---|---|
google_docs.list_documents | Read | The Google Docs this app made or was handed (Drive, drive.file): id, title, link, modified time — newest first. |
google_docs.get_document | Read | ONE document (documents.get): title, the outline (headings with their level), the text, every table as rows, inline image count; long text is cut and says truncated. |
google_docs.export_document | Read | Export a document (Drive files.export) and save the file to the Asset Library: format pdf | docx | txt | md. |
google_docs.raw_get | Read | RAW Google Docs API read — ONLY when no typed tool covers what the goal needs: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), path (relative to the API, e.g. "documents/{doc… |
google_docs.create_document | Write | Create a NEW, polished Google Doc from structured content: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), title, blocks: an ordered list — { type: title | subtitle | heading… |
google_docs.append_content | Write | Add content at the END of an existing document: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), document (the file's id or its docs.google.com link), blocks: an ordered list … |
google_docs.insert_content | Write | Add content right AFTER a heading of an existing document: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), document (the file's id or its docs.google.com link), afterHeading … |
google_docs.replace_text | Write | Replace every occurrence of a text in a document (replaceAllText): { accountId? (the connected Google sign-in; optional when this workspace has exactly one), document (the file's id or its docs.google.com link), repla… |
google_docs.copy_from_template | Write | Make a NEW document from a template document (Drive files.copy) and fill its {{placeholders}}: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), template (the file's id or its … |
google_docs.batch_update | Write | Any Google Docs batchUpdate in Google's own format, for what the typed tools do not cover: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), document (the file's id or its docs… |
Google Sheets tools
| Tool | Kind | What it does |
|---|---|---|
google_sheets.list_spreadsheets | Read | The Google Sheets this app made or was handed (Drive, drive.file): id, title, link, modified time. |
google_sheets.get_spreadsheet | Read | ONE spreadsheet's structure (spreadsheets.get, no cell data): title, locale, time zone, each tab (id, title, rows × columns, frozen rows, charts, basic filter, filter views). |
google_sheets.read_values | Read | Cell values of one or more ranges (values.batchGet): { accountId? (the connected Google sign-in; optional when this workspace has exactly one), spreadsheet (the file's id or its docs.google.com link), ranges: [A1…] (≤… |
google_sheets.export_spreadsheet | Read | Export a spreadsheet (Drive files.export) to the Asset Library: format xlsx | csv (the FIRST tab) | pdf. |
google_sheets.raw_get | Read | RAW Google Sheets API read — ONLY when no typed tool covers what the goal needs: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), path (relative to the API, e.g. "spreadsheets… |
google_sheets.create_spreadsheet | Write | Create a NEW, formatted Google Sheet: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), title, tabs: [{ title, header?: [column names], rows: [[cell…]] or [{column: value}], co… |
google_sheets.write_values | Write | Write cells into an existing spreadsheet: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), spreadsheet (the file's id or its docs.google.com link), range (A1, e.g. 'Data'!A1:D… |
google_sheets.append_rows | Write | Append rows after a tab's last row (values.append, INSERT_ROWS): { accountId? (the connected Google sign-in; optional when this workspace has exactly one), spreadsheet (the file's id or its docs.google.com link), tab,… |
google_sheets.add_sheet_tab | Write | Add a tab to an existing spreadsheet, optionally filled like a create_spreadsheet tab: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), spreadsheet (the file's id or its docs.… |
google_sheets.add_chart | Write | Add a chart to a tab: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), spreadsheet (the file's id or its docs.google.com link), tab, chart: { type: column | bar | line | area … |
google_sheets.set_filter | Write | Add a filter: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), spreadsheet (the file's id or its docs.google.com link), tab, range? (default = the tab's data), view? (true = a… |
google_sheets.format_range | Write | Format a range: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), spreadsheet (the file's id or its docs.google.com link), range (A1, e.g. 'Data'!A1:D200), numberFormat? (curre… |
google_sheets.replace_text | Write | Find and replace across a spreadsheet (findReplace): { accountId? (the connected Google sign-in; optional when this workspace has exactly one), spreadsheet (the file's id or its docs.google.com link), replacements: [{… |
google_sheets.copy_from_template | Write | Make a NEW spreadsheet from a template spreadsheet (Drive files.copy) and fill its {{placeholders}}: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), template (the file's id o… |
google_sheets.batch_update | Write | Any Google Sheets batchUpdate in Google's own format: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), spreadsheet (the file's id or its docs.google.com link), requests: [...]… |
Google Slides tools
| Tool | Kind | What it does |
|---|---|---|
google_slides.list_presentations | Read | The Google Slides decks this app made or was handed (Drive, drive.file): id, title, link, modified time. |
google_slides.get_presentation | Read | ONE deck (presentations.get): title, page size, every slide's id, title and text, its speaker notes, images and tables count. |
google_slides.get_thumbnails | Read | PNG thumbnails of slides for a visual review (pages.getThumbnail — Google's expensive-read quota): { accountId? (the connected Google sign-in; optional when this workspace has exactly one), presentation (the file's id… |
google_slides.export_presentation | Read | Export a deck (Drive files.export) to the Asset Library: format pdf | pptx | txt. |
google_slides.raw_get | Read | RAW Google Slides API read — ONLY when no typed tool covers what the goal needs: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), path (relative to the API, e.g. "presentation… |
google_slides.create_presentation | Write | Create a NEW, designed Google Slides deck from a deck spec: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), title, slides: [{ layout: title | section | bullets | two_column |… |
google_slides.add_slides | Write | Add slides to an existing deck in the same spec and theme: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), presentation (the file's id or its docs.google.com link), slides: [… |
google_slides.replace_text | Write | Replace every occurrence of a text across the deck (replaceAllText): { accountId? (the connected Google sign-in; optional when this workspace has exactly one), presentation (the file's id or its docs.google.com link),… |
google_slides.copy_from_template | Write | Make a NEW deck from a template deck (Drive files.copy) and fill its {{placeholders}}: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), template (the file's id or its docs.goo… |
google_slides.batch_update | Write | Any Google Slides batchUpdate in Google's own format: { accountId? (the connected Google sign-in; optional when this workspace has exactly one), presentation (the file's id or its docs.google.com link), requests: [...… |
What waits for a person
- Under your approval setting: creating a new file and editing an existing one (adding content, writing cells, adding a tab, chart, filter or slides, formatting, find-and-replace).
- Always a person's decision: A change that deletes, clears or overwrites content — clearing a whole tab before writing, a find-and-replace with an empty replacement, or a batch update that removes text, rows, columns, tabs, slides, shapes, charts, filters or formatting rules, pastes or cuts over a range, blanks a range, resizes a grid or replaces shapes with images or charts — waits for a person on every lane, auto-approve and API keys included. The exceptions, by the owner's choice: a connection of the workspace's own OAuth app, and an API key an admin set to apply these changes at once.
- Never: Agent Planners never shares a file, changes who can open it, deletes or trashes it, moves it to another folder or adds protected ranges — do that in Google Drive.
Exports and limits
- Exports are saved to the Asset Library: Docs as PDF, DOCX, plain text or Markdown; Sheets as XLSX, CSV (the first tab) or PDF; Slides as PDF, PPTX or plain text. Google exports at most 10 MB.
- Large tables are written in chunks, up to Google's 10,000,000 cells per spreadsheet;
read_valuesreturns up to 5,000 rows per range and says when it cut. - Slide thumbnails (
get_thumbnails) count against Google's expensive-read quota; a temporary link lasts about 30 minutes unless saved to the Asset Library. - Images in Docs and Slides must be https PNG, JPEG or GIF files Google can fetch (charts the agent renders are).
Raw requests (MCP and REST)
google_docs__raw_request,google_sheets__raw_requestandgoogle_slides__raw_requestsend a request in Google's own format to docs.googleapis.com, sheets.googleapis.com or slides.googleapis.com only — never Drive.- Reads run at once. Writes wait for a person unless an admin pre-authorized the API key; a batch update that deletes, clears or overwrites content and a Sheets values clear always wait for a person. A DELETE, a protected-range change and a request with more than one key are refused (these APIs have no file delete, and Agent Planners never deletes a file).
Things to ask
- "Write this week's paid-media report as a Google Doc with a summary table and the spend chart."
- "Put the campaign rows in a Google Sheet with totals, a column chart of spend by channel and a filter view for paused campaigns."
- "Turn the quarterly review into a 10-slide deck in the ocean theme with speaker notes."
- "Read the brief at <link> and summarise the open questions."
Frequently asked questions
- Can the agent see my whole Google Drive?
- No. It opens a document, spreadsheet or deck you name by its link, and lists only the files it made or was handed. It never shares, deletes or moves a file.
- Do I have to connect all three?
- No. Docs, Sheets and Slides each have their own card and permission; connect only the ones you use.
- How is this different from the Google Drive (Sheets export) connection?
- The Drive export connection writes tables into new Sheets the app creates. Google Sheets adds formulas, charts, filters and formatting, and opens spreadsheets you name.