Skip to content
Changelog

Report a bug

Google Docs & Drive (full access) integration: operations for AI agents

Google Docs & Drive (full access) connects to Type.com as an integration. This page lists the 36 operations documented for Claude and Codex in Type.com: 11 read, 16 write, 9 destructive.

About Google Docs & Drive (full access)

Search Drive and read or edit Google Docs with full Google Docs and Drive API access

How to connect Google Docs & Drive (full access) to Type.com

Connect
Sign in with the provider (OAuth)
Access
Organization connection: one shared account for the workspace.

To add the connection, follow the steps in Space connections.

Documented operations

36 operations. Your connection's permissions determine which operations are available.

36 operations listed.

  • Read

    google docs get

    Get a Google Doc's content (title, body text, headings, lists). Returns the document as readable text, not raw JSON. Set includeIndices to true before editing existing text to get each paragraph's character range. When using this through the regular Google Drive & Docs service, access can be limited by selected Drive files. If regular Google Drive & Docs is not connected, recommend connecting Google Drive & Docs with provider google-drive-docs before suggesting full access. If a read or edit fails after regular Google Drive & Docs is connected and Google Docs & Drive (full access) is connected, retry the same Google Docs tool with service google-docs-full. Only offer to connect Google Docs & Drive (full access) with provider google-docs-full when regular Google Drive & Docs is already connected and the task still needs broad Docs and Drive access. If the user says this will be repeated, asks to do this often, or needs broad Docs/Drive operations, call google_drive_request_full_access with a reason and optional query so the full-access card renders. If the user only needs a specific document or prefers limited access, use google_drive_select_files with a reason and optional query so the user can select the document, then retry.

  • Read

    google drive download file

    Download a binary file stored in Google Drive, such as a PDF, DOCX, XLSX, image, CSV, ZIP, or other uploaded file. This streams the file into Type file delivery and returns a Type file ID instead of inlining bytes. Use google_drive_export_file for native Google Docs, Sheets, or Slides files. If the file is outside Type's current selected access, this tool returns a Select files card so the user can add access.

  • Read

    google drive export file

    Export a native Google Docs, Sheets, or Slides file into Type file delivery and return a Type file ID instead of inlining bytes. Common export MIME types: Docs to application/vnd.openxmlformats-officedocument.wordprocessingml.document or text/markdown; Sheets to application/vnd.openxmlformats-officedocument.spreadsheetml.sheet or text/csv; Slides to application/pdf. If exportMimeType is omitted, Docs export as DOCX, Sheets as XLSX, and Slides as PDF. Google Drive caps exports at about 10MB; Google Docs markdown export can fall back to Type's markdown conversion path. If the file is outside Type's current selected access, this tool returns a Select files card so the user can add access.

  • Read

    google drive get file

    Get detailed metadata for a specific file in Google Drive. Returns name, type, size, creation/modification times, sharing status, and permissions. Use file IDs from search results.

  • Read

    google drive list recent docs

    List Google Docs files in Google Drive ordered by most recently modified time, newest first. Use limit for the number the user requested, such as limit 3 for their last three docs. With drive.metadata access, Drive can list metadata across files visible to the user; with only drive.file access, results are limited to documents the user opened, created, or selected for Type. If no accessible documents are returned, this tool returns a Select files card so the user can add more Drive access. When using this through the regular Google Drive & Docs service, access can be limited by selected Drive files. If regular Google Drive & Docs is not connected, recommend connecting Google Drive & Docs with provider google-drive-docs before suggesting full access. If regular Google Drive & Docs is connected but too limited, and Google Docs & Drive (full access) is connected, retry the same Drive tool with service google-docs-full. Only offer to connect Google Docs & Drive (full access) with provider google-docs-full when regular Google Drive & Docs is already connected and the task still needs broad Drive search, folder discovery, or repeated Drive file operations. If the user says this will be repeated or asks to do many Drive file/folder operations, use google_drive_request_full_access with a reason and optional query so the full-access card renders. If the user only needs specific files or folders, or prefers limited access, use google_drive_select_files with a reason and optional query so the user can select them, then retry.

  • Read

    google drive request full access

    Show a Google Docs & Drive (full access) connection card. Use this instead of google_drive_select_files when regular Google Drive & Docs is already connected and the user says they will repeat this workflow, asks to do this often, needs broad Drive search or folder discovery, or needs to find/move/rename/edit many files and folders without selecting each one first. Do not use this for a one-off task that only needs a known specific file or folder; use google_drive_select_files for that narrower case. After the user connects full access, retry the relevant Drive or Docs operation with service google-docs-full.

  • Read

    google drive search docs

    Search for Google Docs documents available to Type in Google Drive by name or content. With drive.metadata access, Drive search can find document metadata across files visible to the user; with only drive.file access, results are limited to documents the user opened, created, or selected for Type. Returns a list of matching documents with their IDs, titles, URLs, and metadata. Use the document ID with google_docs_get to read the full content. If no accessible documents match, this tool returns a Select files card so the user can add more Drive access. If results are partial, irrelevant, ambiguous, or likely missing files outside Type's selected access, decide between broad full access and selected-file access. When using this through the regular Google Drive & Docs service, access can be limited by selected Drive files. If regular Google Drive & Docs is not connected, recommend connecting Google Drive & Docs with provider google-drive-docs before suggesting full access. If regular Google Drive & Docs is connected but too limited, and Google Docs & Drive (full access) is connected, retry the same Drive tool with service google-docs-full. Only offer to connect Google Docs & Drive (full access) with provider google-docs-full when regular Google Drive & Docs is already connected and the task still needs broad Drive search, folder discovery, or repeated Drive file operations. If the user says this will be repeated or asks to do many Drive file/folder operations, use google_drive_request_full_access with a reason and optional query so the full-access card renders. If the user only needs specific files or folders, or prefers limited access, use google_drive_select_files with a reason and optional query so the user can select them, then retry. Large results may be truncated to fit context limits.

  • Read

    google drive search files

    Search for files available to Type in Google Drive by name or content. With drive.metadata access, Drive search can find file metadata across files visible to the user; with only drive.file access, results are limited to files the user opened, created, or selected for Type. Can filter by file type (MIME type). Returns files of all types: documents, spreadsheets, images, PDFs, etc. If no accessible files match, this tool returns a Select files card so the user can add more Drive access. If results are partial, irrelevant, ambiguous, or likely missing files outside Type's selected access, decide between broad full access and selected-file access. When using this through the regular Google Drive & Docs service, access can be limited by selected Drive files. If regular Google Drive & Docs is not connected, recommend connecting Google Drive & Docs with provider google-drive-docs before suggesting full access. If regular Google Drive & Docs is connected but too limited, and Google Docs & Drive (full access) is connected, retry the same Drive tool with service google-docs-full. Only offer to connect Google Docs & Drive (full access) with provider google-docs-full when regular Google Drive & Docs is already connected and the task still needs broad Drive search, folder discovery, or repeated Drive file operations. If the user says this will be repeated or asks to do many Drive file/folder operations, use google_drive_request_full_access with a reason and optional query so the full-access card renders. If the user only needs specific files or folders, or prefers limited access, use google_drive_select_files with a reason and optional query so the user can select them, then retry. Use google_drive_search_docs for Google Docs specifically.

  • Read

    google drive select files

    Show a Select files card so the user can grant Type access to additional Google Drive files or folders. Use this when the user only needs specific files or folders, or prefers limited access. If regular Google Drive & Docs is not connected, recommend connecting provider google-drive-docs first. For broad Drive search or folder discovery after regular Google Drive & Docs is connected, prefer Google Docs & Drive (full access) with service google-docs-full when connected, or use google_drive_request_full_access to render the provider google-docs-full connection card. Use selected-file access whenever the current selected-file access is likely incomplete, not only when a search returns zero results. Good cases: a user mentions files or folders missing from current results; search results are partial, irrelevant, or ambiguous; a direct file, Doc, Sheet, or destination folder is inaccessible; or a task likely needs a folder the user has not selected. Do not use this for repeated workflows, broad discovery, or many future Drive operations; use google_drive_request_full_access instead so the full-access card renders. Give a concise reason, then retry the relevant search or operation after the user continues.

  • Read

    google sheets get

    Get a Google Sheets spreadsheet's metadata including title and list of sheet tabs.

  • Read

    google sheets read cells

    Read cell values from a range in a Google Sheets spreadsheet. Uses A1 notation for ranges (e.g. 'Sheet1!A1:D10', 'Sheet1!A:D').

  • Write

    google docs add bullets

    Turn paragraphs in a Google Doc into a bulleted or numbered list. Every paragraph the target touches becomes a list item. Target the content with findText (optionally occurrence and matchCase), or with startIndex and endIndex from google_docs_get with includeIndices true. When using this through the regular Google Drive & Docs service, access can be limited by selected Drive files. If regular Google Drive & Docs is not connected, recommend connecting Google Drive & Docs with provider google-drive-docs before suggesting full access. If a read or edit fails after regular Google Drive & Docs is connected and Google Docs & Drive (full access) is connected, retry the same Google Docs tool with service google-docs-full. Only offer to connect Google Docs & Drive (full access) with provider google-docs-full when regular Google Drive & Docs is already connected and the task still needs broad Docs and Drive access. If the user says this will be repeated, asks to do this often, or needs broad Docs/Drive operations, call google_drive_request_full_access with a reason and optional query so the full-access card renders. If the user only needs a specific document or prefers limited access, use google_drive_select_files with a reason and optional query so the user can select the document, then retry.

  • Write

    google docs create

    Create a new blank Google Doc with a given title. Optionally pass a Google Drive folder ID selected in the integration settings to create it in that folder.

  • Write

    google docs format paragraph

    Apply paragraph formatting in a Google Doc: heading or title style, alignment, line spacing, and space above or below. Paragraph styles apply to every paragraph the target touches, not just the matched text. Target the content with findText (optionally occurrence and matchCase), or with startIndex and endIndex from google_docs_get with includeIndices true. When using this through the regular Google Drive & Docs service, access can be limited by selected Drive files. If regular Google Drive & Docs is not connected, recommend connecting Google Drive & Docs with provider google-drive-docs before suggesting full access. If a read or edit fails after regular Google Drive & Docs is connected and Google Docs & Drive (full access) is connected, retry the same Google Docs tool with service google-docs-full. Only offer to connect Google Docs & Drive (full access) with provider google-docs-full when regular Google Drive & Docs is already connected and the task still needs broad Docs and Drive access. If the user says this will be repeated, asks to do this often, or needs broad Docs/Drive operations, call google_drive_request_full_access with a reason and optional query so the full-access card renders. If the user only needs a specific document or prefers limited access, use google_drive_select_files with a reason and optional query so the user can select the document, then retry.

  • Write

    google docs format text

    Apply text formatting to a range of characters in a Google Doc. Can make text bold, italic, underlined, strikethrough, or turn it into a hyperlink. Call google_docs_get with includeIndices true first to find the character indices. When using this through the regular Google Drive & Docs service, access can be limited by selected Drive files. If regular Google Drive & Docs is not connected, recommend connecting Google Drive & Docs with provider google-drive-docs before suggesting full access. If a read or edit fails after regular Google Drive & Docs is connected and Google Docs & Drive (full access) is connected, retry the same Google Docs tool with service google-docs-full. Only offer to connect Google Docs & Drive (full access) with provider google-docs-full when regular Google Drive & Docs is already connected and the task still needs broad Docs and Drive access. If the user says this will be repeated, asks to do this often, or needs broad Docs/Drive operations, call google_drive_request_full_access with a reason and optional query so the full-access card renders. If the user only needs a specific document or prefers limited access, use google_drive_select_files with a reason and optional query so the user can select the document, then retry.

  • Write

    google docs insert content

    Insert rich content into a Google Doc from Markdown or structured blocks. Supports headings, paragraphs, bulleted lists, numbered lists, bold, italic, underline, strikethrough, and links. Tables and images are not supported yet. By default appends to the end of the document. When using this through the regular Google Drive & Docs service, access can be limited by selected Drive files. If regular Google Drive & Docs is not connected, recommend connecting Google Drive & Docs with provider google-drive-docs before suggesting full access. If a read or edit fails after regular Google Drive & Docs is connected and Google Docs & Drive (full access) is connected, retry the same Google Docs tool with service google-docs-full. Only offer to connect Google Docs & Drive (full access) with provider google-docs-full when regular Google Drive & Docs is already connected and the task still needs broad Docs and Drive access. If the user says this will be repeated, asks to do this often, or needs broad Docs/Drive operations, call google_drive_request_full_access with a reason and optional query so the full-access card renders. If the user only needs a specific document or prefers limited access, use google_drive_select_files with a reason and optional query so the user can select the document, then retry.

  • Write

    google docs insert text

    Insert text into a Google Doc. By default appends to the end of the document. Optionally specify an index to insert at a specific position. When using this through the regular Google Drive & Docs service, access can be limited by selected Drive files. If regular Google Drive & Docs is not connected, recommend connecting Google Drive & Docs with provider google-drive-docs before suggesting full access. If a read or edit fails after regular Google Drive & Docs is connected and Google Docs & Drive (full access) is connected, retry the same Google Docs tool with service google-docs-full. Only offer to connect Google Docs & Drive (full access) with provider google-docs-full when regular Google Drive & Docs is already connected and the task still needs broad Docs and Drive access. If the user says this will be repeated, asks to do this often, or needs broad Docs/Drive operations, call google_drive_request_full_access with a reason and optional query so the full-access card renders. If the user only needs a specific document or prefers limited access, use google_drive_select_files with a reason and optional query so the user can select the document, then retry.

  • Write

    google drive copy file

    Copy a file in Google Drive, optionally into another folder (including shared drives) and with a new name. Set convertToGoogleFormat to turn an Office or CSV file into a native Google Doc, Sheet, or Slides file that the Docs and Sheets tools can edit. Copying a template already inside a shared drive is also the way to create a file directly in that shared drive.

  • Write

    google drive create folder

    Create a new folder in Google Drive. Can optionally specify a parent folder selected in the integration settings to create a subfolder. Returns the new folder's ID and URL.

  • Write

    google drive move file

    Move a file to a different folder in Google Drive. Removes the file from its current folder(s) and places it in the destination folder selected in the integration settings.

  • Write

    google drive rename file

    Rename a file or folder in Google Drive. Does not change the file's location, only its name.

  • Write

    google drive upload file

    Upload a new file into Google Drive, optionally into a specific folder (including shared drives). Use this to save a generated or edited file (such as an .xlsx, .docx, or PDF) to Drive. To replace an existing file while keeping its link and version history, use google_drive_update_file_content instead. Set convertToGoogleFormat to create a native Google Doc, Sheet, or Slides file from Office, CSV, or text content.

  • Write

    google sheets add sheet

    Add a new sheet tab to an existing Google Sheets spreadsheet.

  • Write

    google sheets append rows

    Append rows of data after the last row with content in a Google Sheets spreadsheet. Useful for adding entries to a log, table, or list without overwriting existing data.

  • Write

    google sheets create

    Create a new Google Sheets spreadsheet with a given title. Optionally pass a Google Drive folder ID selected in the integration settings to create it in that folder.

  • Write

    google sheets format cells

    Apply cell formatting to a range in a Google Sheets spreadsheet. Can set the cell fill (background) color, text color, bold, italic, underline, strikethrough, font size, horizontal and vertical alignment, text wrapping, and number formats (currency, percent, dates). Colors are hex strings like '#FFF2CC'. Set clearFormatting to true to reset a range to default formatting. Uses A1 notation for ranges (e.g. 'Sheet1!A1:D10', 'Sheet1!A:D').

  • Write

    google sheets insert rows columns

    Insert empty rows or columns into a sheet tab, shifting existing cells down or right. Indexes are 0-based and endIndex is exclusive: inserting 3 rows above UI row 5 = startIndex 4, endIndex 7. Only works on native Google Sheets, not .xlsx files stored in Drive (download those, edit them, and write them back with google_drive_update_file_content).

  • Destructive

    google docs delete content

    Delete content from a Google Doc. Target the content with findText (optionally occurrence and matchCase), or with startIndex and endIndex from google_docs_get with includeIndices true. When deleting by startIndex and endIndex, also pass expectedText with the exact text currently in that range; the delete is refused if the document changed. To rewrite a passage, prefer google_docs_replace_text; or delete it and then insert new content at the returned startIndex. When using this through the regular Google Drive & Docs service, access can be limited by selected Drive files. If regular Google Drive & Docs is not connected, recommend connecting Google Drive & Docs with provider google-drive-docs before suggesting full access. If a read or edit fails after regular Google Drive & Docs is connected and Google Docs & Drive (full access) is connected, retry the same Google Docs tool with service google-docs-full. Only offer to connect Google Docs & Drive (full access) with provider google-docs-full when regular Google Drive & Docs is already connected and the task still needs broad Docs and Drive access. If the user says this will be repeated, asks to do this often, or needs broad Docs/Drive operations, call google_drive_request_full_access with a reason and optional query so the full-access card renders. If the user only needs a specific document or prefers limited access, use google_drive_select_files with a reason and optional query so the user can select the document, then retry.

  • Destructive

    google docs replace text

    Find and replace text everywhere it appears in a Google Doc. Use this to edit, correct, or remove existing wording without rebuilding the document. Set replaceText to an empty string to delete every match. Existing formatting around the match is kept. When using this through the regular Google Drive & Docs service, access can be limited by selected Drive files. If regular Google Drive & Docs is not connected, recommend connecting Google Drive & Docs with provider google-drive-docs before suggesting full access. If a read or edit fails after regular Google Drive & Docs is connected and Google Docs & Drive (full access) is connected, retry the same Google Docs tool with service google-docs-full. Only offer to connect Google Docs & Drive (full access) with provider google-docs-full when regular Google Drive & Docs is already connected and the task still needs broad Docs and Drive access. If the user says this will be repeated, asks to do this often, or needs broad Docs/Drive operations, call google_drive_request_full_access with a reason and optional query so the full-access card renders. If the user only needs a specific document or prefers limited access, use google_drive_select_files with a reason and optional query so the user can select the document, then retry.

  • Destructive

    google drive trash file

    Move a file to the trash in Google Drive. Trashed files can be recovered from the trash within 30 days. Use with caution for important files.

  • Destructive

    google drive update file content

    Replace the content of an existing uploaded file in Google Drive (for example an .xlsx, .docx, or PDF) with new bytes. The file keeps its ID, link, folder, and sharing, and Drive keeps the previous content in version history. Typical flow: google_drive_download_file, edit the file locally, then call this with the edited file. Pass expectedModifiedTime from the download or google_drive_get_file so the update is refused if someone changed the file in the meantime. Native Google Docs, Sheets, and Slides cannot be overwritten this way; use the Google Docs or Google Sheets editing tools for those.

  • Destructive

    google sheets clear range

    Clear cell values from one or more A1 ranges in a Google Sheets spreadsheet. Only values are cleared; formatting, validation, and the rows/columns themselves are kept. Only works on native Google Sheets, not .xlsx files stored in Drive (download those, edit them, and write them back with google_drive_update_file_content).

  • Destructive

    google sheets delete rows columns

    Delete rows or columns (and their contents) from a sheet tab, shifting remaining cells up or left. Indexes are 0-based and endIndex is exclusive: rows 5-7 in the UI = startIndex 4, endIndex 7; columns B-C = startIndex 1, endIndex 3. Only works on native Google Sheets, not .xlsx files stored in Drive (download those, edit them, and write them back with google_drive_update_file_content).

  • Destructive

    google sheets find replace

    Find and replace text in a Google Sheets spreadsheet. Searches all tabs by default; pass sheet or sheetId to limit to one tab, or an A1 range (e.g. 'Sheet1!A1:D50') to limit to a range. Returns how many occurrences, cells, rows, sheets, and formulas changed. Only works on native Google Sheets, not .xlsx files stored in Drive (download those, edit them, and write them back with google_drive_update_file_content).

  • Destructive

    google sheets update tab

    Rename, duplicate, or delete a sheet tab. Rename requires newTitle; duplicate places the copy right after the source tab and uses newTitle if given; delete permanently removes the tab and its data. Only works on native Google Sheets, not .xlsx files stored in Drive (download those, edit them, and write them back with google_drive_update_file_content).

  • Destructive

    google sheets write cells

    Write values to a range of cells in a Google Sheets spreadsheet. Overwrites existing data in the specified range. Values are provided as a 2D array (rows of columns).

Get started

  1. Open Space settings → Connections and search for Google Docs & Drive (full access).
  2. Connect your account and add the connection to the Space.
  3. Ask for what you need in any thread in that Space.

See How connections work for access and permissions, or browse all integrations.

Reference date: October 28, 2026.