Skip to main content
Server path: /google-sheets | Type: Application | PCID required: Yes

Tools


google-sheets_add_column

Adds a column to a sheet. If columnIndex is provided, inserts at that 0-based position; otherwise appends a column at the end. Parameters:

google-sheets_append_values

Appends values to a spreadsheet. The input range is used to search for existing data and find a “table” within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the guide and sample code for specific details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The valueInputOption only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to. Parameters:

google-sheets_batch_clear_values

Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. Only values are cleared — all other properties of the cell (such as formatting and data validation) are kept. Parameters:

google-sheets_batch_get_values

Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. Parameters:

google-sheets_batch_update

Applies one or more updates to the spreadsheet. Each request is validated before being applied. If any request is not valid then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. The replies will mirror the requests. For example, if you applied 4 updates and the 3rd one had a reply, then the response will have 2 empty replies, the actual reply, and another empty reply, in that order. Due to the collaborative nature of spreadsheets, it is not guaranteed that the spreadsheet will reflect exactly your changes after this completes, however it is guaranteed that the updates in the request will be applied together atomically. Your changes may be altered with respect to collaborator changes. If there are no collaborators, the spreadsheet should reflect your changes. Parameters:

google-sheets_batch_update_values

Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more ValueRanges. Parameters:

google-sheets_clear_cell

Clears the value of a single cell in a spreadsheet. Only the value is cleared — formatting, data validation, and other properties are kept. Parameters:

google-sheets_clear_rows

Clear content from a range of rows in a spreadsheet. Only clears values, not formatting. Parameters:

google-sheets_clear_values

Clears values from a spreadsheet. The caller must specify the spreadsheet ID and range. Only values are cleared — all other properties of the cell (such as formatting, data validation, etc..) are kept. Parameters:

google-sheets_copy_sheet_to

Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet. Parameters:

google-sheets_create_sheet

Creates a new sheet (tab) in a spreadsheet with the given title. Parameters:

google-sheets_create_spreadsheet

Creates a spreadsheet, returning the newly created spreadsheet. Parameters:

google-sheets_delete_sheet

Deletes a sheet (tab) from a spreadsheet by its name. Parameters:

google-sheets_delete_spreadsheet

Permanently deletes a spreadsheet using the Google Drive API. Parameters:

google-sheets_edit_cell

Edits the value of a single cell in a spreadsheet. Specify the cell address in A1 notation (e.g. “A1”, “B5”). Parameters:

google-sheets_edit_column

Edits values in a column of a spreadsheet. Specify the column letter, starting row, and an array of values to write down the column. Parameters:

google-sheets_edit_row

Edits an entire row in a spreadsheet. Specify the 1-based row index and an array of values to set across the row. Parameters:

google-sheets_find_row

Searches a column for rows matching a given value. Returns the row indices and optionally the full row data for each match. Parameters:

google-sheets_get_sheet_row_column_count

Returns the total row and column count for a sheet. If sheetName is not provided, returns counts for the first sheet. Parameters:

google-sheets_get_spreadsheet

Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a field mask listing your desired fields using the fields URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the includeGridData parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using A1 notation. You can define a single cell (for example, A1) or multiple cells (for example, A1:D5). You can also get cells from other sheets within the same spreadsheet (for example, Sheet2!A1:C4) or retrieve multiple ranges at once (for example, ?ranges=A1:D5&ranges=Sheet2!A1:C4). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges. Parameters:

google-sheets_get_values

Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range. Parameters:

google-sheets_insert_column

Inserts a column into a sheet. If columnLetter is provided (e.g. “A”, “B”), inserts at that position and optionally fills with values. If no columnLetter and values are provided, appends a column with those values. If neither columnLetter nor values are provided, appends an empty column. Parameters:

google-sheets_insert_comment

Insert a comment on a specific cell in a spreadsheet. Uses the Google Drive API comments endpoint. Parameters:

google-sheets_insert_row

Inserts a row into a sheet. If rowIndex (1-based) is provided, inserts at that position and optionally fills with values. If no rowIndex and values are provided, appends a row with those values. If neither rowIndex nor values are provided, appends an empty row. Parameters:

google-sheets_list_sheets

Lists all sheets (tabs) in a spreadsheet, returning each sheet’s ID, title, and index. Parameters:

google-sheets_read_col_headings

Reads the column headings (first row) of a sheet. Returns an array of heading values from row 1. Parameters:

google-sheets_read_columns

Reads entire columns from a spreadsheet. Specify column letters (e.g. [“A”, “C”, “E”]) to read specific columns, or omit to read all columns. Parameters:

google-sheets_read_rows

Reads rows from a spreadsheet. By default reads from row 2 (skipping the header row) to the end of the sheet. Use startRow and endRow to control the range. Parameters:

google-sheets_rename_sheet

Renames a sheet (tab) in a spreadsheet. If sheetName is not provided, renames the first sheet. Parameters:

google-sheets_rename_spreadsheet

Renames a spreadsheet (changes its title). Parameters:

google-sheets_update_formatting

Updates the formatting of a range of cells in a spreadsheet. Supports bold, italic, text color, and background color. Parameters:

google-sheets_update_values

Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption. Parameters: