Google Sheets

Connect your AI agents to Google Sheets.

Available Tools

add_sheet

Add a new sheet (tab) to an existing spreadsheet with customizable properties.

delete_sheet

Permanently delete a sheet (tab) from a spreadsheet. Cannot be undone.

update_sheet_properties

Update sheet properties like title, position, visibility, or tab color.

copy_sheet

Copy a sheet within the same spreadsheet or to a different spreadsheet.

sort_range

Sorts data in rows based on a sort order per column. Supports multi-column sorting and color-based sorting.

set_data_validation

Sets data validation rules to cells in a range. Supports number, text, date validation, dropdown lists, and custom rules. Use empty rule to clear validation.

set_basic_filter

Sets a basic filter on a sheet with optional sorting and column-specific filter criteria. Supports text, number, and date filtering.

add_chart

Add a chart (bar, line, area, column, scatter, combo, stepped area) to a spreadsheet. Requires A1 ranges for domain (x-axis) and series (y-axis) data.

create_spreadsheet

Create a new spreadsheet with specified title and optional properties.

get_spreadsheet

Retrieve spreadsheet information including metadata, sheets, and optionally cell data.

update_spreadsheet_properties

Update spreadsheet properties such as title, locale, or timezone.

get_values

Read cell values from a specified range using A1 notation (e.g., ‘Sheet1!A1:B10’).

update_values

Write cell values to a specified range. Supports formulas and raw values.

append_values

Append rows to the end of a table, automatically finding the last row with data.

clear_values

Clear cell values from a range while preserving formatting and structure.

batch_get_values

Read cell values from multiple ranges in a single efficient API call.

batch_update_values

Update multiple ranges with values in a single efficient API call.

batch_clear_values

Clear values from multiple ranges in a single API call while preserving formatting.