What can you do with it?
Google Sheets allows you to create and modify spreadsheets programmatically. You can create new spreadsheets, add and manage sheets (tabs), read and update cell values, clear data ranges, copy formatting between sheets, and create pivot tables. This integration is perfect for data automation, report generation, and spreadsheet management workflows. For listing all spreadsheets, you’ll need to use the Google Drive integration.How to use it?
Basic Command Structure
Parameters
Required:action
- The operation to perform on spreadsheets
Tools
Get Spreadsheet Info
Retrieve information about a spreadsheet including sheets and properties Parameters:spreadsheet-id
(required) - The ID of the spreadsheet
Read Sheet Data
Get data from a specific range in a sheet Parameters:spreadsheet-id
(required) - The ID of the spreadsheetsheet-name
(required) - Name of the sheet/tabrange
(required) - Cell range to read (e.g., “A1:Z100” or “1:1” for first row)
Update Sheet Data
Update values in a specific range Parameters:spreadsheet-id
(required) - The ID of the spreadsheetsheet-name
(required) - Name of the sheet/tabrange
(required) - Cell range to updatevalues
(required) - Data to write (as a 2D array)
Clear Data
Clear values from a specific range Parameters:spreadsheet-id
(required) - The ID of the spreadsheetsheet-name
(required) - Name of the sheet/tabrange
(required) - Cell range to clear
Create New Sheet
Add a new sheet (tab) to an existing spreadsheet Parameters:spreadsheet-id
(required) - The ID of the spreadsheetsheet-name
(required) - Name for the new sheet
Create Spreadsheet
Create a new Google Sheets spreadsheet Parameters:title
(required) - Title for the new spreadsheet
Copy Format
Copy formatting from one range to another Parameters:spreadsheet-id
(required) - The ID of the spreadsheetsource-sheet-id
(required) - Sheet ID of the sourcedestination-sheet-id
(required) - Sheet ID of the destinationsource-range
(optional) - Source range boundariesdestination-range
(optional) - Destination range boundaries
Create Pivot Table
Create a pivot table from data Parameters:spreadsheet-id
(required) - The ID of the spreadsheetsheet-id
(required) - Sheet ID where pivot table will be createdsource-data
(required) - Source data rangesort-order
(optional) - Sort order (ASCENDING or DESCENDING)