Skip to main content

At a glance

  • Availability: Enabled by default.
  • Auth: OAuth 2.0.
  • Connection: A user authorizes the connection in the provider’s consent screen.
  • Scopes: https://www.googleapis.com/auth/spreadsheets, https://www.googleapis.com/auth/drive.readonly, https://www.googleapis.com/auth/drive.file.

Credentials

Set these per environment. See Connect an integration. With a managed OAuth app, Connect works without these variables; set them to use your own OAuth app instead.
VariableRequiredDescription
GOOGLE_CLIENT_IDYesGoogle OAuth Client ID Docs.
GOOGLE_CLIENT_SECRETYesGoogle OAuth Client Secret Docs.

Tools

ToolAccessDescription
List SpreadsheetsReadList recent Google Sheets spreadsheets from Drive
Get SpreadsheetReadGet spreadsheet metadata including sheet names and properties
Read RangeReadRead cell data from a spreadsheet range
Write RangeWriteWrite data to a spreadsheet range
Create SpreadsheetWriteCreate a new spreadsheet with optional initial data
Append RowsWriteAppend rows to a spreadsheet range
Clear RangeWriteClear values from a spreadsheet range
Batch UpdateWriteRun raw Google Sheets batchUpdate requests for formatting and structural changes
Add SheetWriteAdd a new sheet/tab to a spreadsheet
Delete SheetWriteDelete a sheet/tab from a spreadsheet by sheet ID
Rename SheetWriteRename a sheet/tab by sheet ID
Delete SpreadsheetWriteMove an app-accessible spreadsheet file to trash
Find and ReplaceWriteFind and replace text in a spreadsheet or sheet
Copy SheetWriteCopy a sheet/tab to another spreadsheet
Create ChartWriteCreate an embedded chart using a Sheets API chart specification
Set Data ValidationWriteSet data validation rules on a sheet range

Example prompts

  • Read and analyze data from a Google Sheets spreadsheet. Provide insights, trends, and statistics.
  • Create a new Google Sheets spreadsheet with formatted data, headers, and calculations.
  • Update a tracking spreadsheet with new data. Add rows, update values, or calculate totals.