Skip to content

Google Sheets

The Google Sheets integration allows agents to read and write spreadsheet data programmatically.

Terminal window
skillett connect google-sheets

Skillett handles all authentication automatically when you connect.

EndpointMethodDescription
get_spreadsheetGETGet spreadsheet metadata
get_valuesGETRead values from a range
update_valuesPUTWrite values to a range
append_valuesPOSTAppend rows to a sheet
clear_valuesPOSTClear a range
create_spreadsheetPOSTCreate a new spreadsheet
add_sheetPOSTAdd a sheet tab
delete_sheetPOSTDelete a sheet tab
batch_get_valuesGETRead multiple ranges at once
batch_update_valuesPOSTWrite to multiple ranges at once
Terminal window
# Read a range
skillett run google-sheets get_values --spreadsheetId "abc123" --range "Sheet1!A1:D10"
# Write data
skillett run google-sheets update_values --spreadsheetId "abc123" --range "Sheet1!A1" --values '[["Name","Email"],["Alice","alice@example.com"]]'
# Append a row
skillett run google-sheets append_values --spreadsheetId "abc123" --range "Sheet1" --values '[["Bob","bob@example.com"]]'
  • Range notation: A1 notation (e.g., Sheet1!A1:D10, Sheet1!A:A)
  • Values format: 2D array of arrays (rows × columns)
  • Spreadsheet IDs: Found in the Google Sheets URL after /d/