Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
38 actions Leo can use in the apps and agents it builds for you: 10 that read Google Sheets data, 28 that create or update it.
Read rows from a Google Sheets worksheet. Returns data as objects (keys = column headers from row 1) by default, or as raw arrays. Use Get Spreadsheet Info first to discover worksheet names. Optionally specify a range in A1 notation (e.g., A2:D10) to read a subset. For searching rows by value, use Find Rows instead.
List Google Spreadsheets accessible to the authenticated user. Optionally search by name with query. Returns an array of { spreadsheetId, name, url } whose IDs can be used with all other tools. Returns up to limit results (default 20); when more may exist the summary says so — raise limit to fetch them.
Get the structure of a Google Spreadsheet — worksheet names, column headers (first row of each sheet), and row counts. Call this first before reading or writing data, so you know the worksheet names and column headers. The column headers are used as keys when writing data with Add Rows or Update Rows. The spreadsheet ID is the long string in the Google Sheets URL: https://docs.google.com/spreadsheets/d/{spreadsheetId}/edit.
Search for rows matching a value in a specific column. Use Get Spreadsheet Info to discover column header names. Returns matching rows as objects with row numbers (useful for subsequent Update Rows calls). For simple reads without filtering, use Read Rows instead.
Get a list of all worksheets in a spreadsheet.
Docs ↗Get all values or values from a range of cells using A1 notation.
Docs ↗Returns the spreadsheet at the given ID. See the documentation for more information
Retrieve Google Sheets account metadata for the authenticated user by calling Drive's about.get, returning the user profile (display name, email, permission ID) and storage quota information. Helpful when you need to verify which Google account is active, tailor sheet operations to available storage, or give an LLM clear context about the user identity before composing read/write actions. See the Drive API documentation.
Fetch the contents of a specific cell in a spreadsheet.
Docs ↗Find one or more rows by a column and value.
Docs ↗Overwrite cells in an existing row of a Google Sheet. Provide row (the 1-based row number — use Find Rows or Read Rows to get it from a row's _rowNumber) and myColumnData, a positional array of values starting at column A (e.g. ["Alice","[email protected]","Engineering"]). Values are written left-to-right from column A, so include the current value of every column up to the one you're changing (read them first via Get Spreadsheet Info / Read Rows); columns after your last value are left unchanged, not cleared. To add a new row instead of overwriting one, use Add Single Row.
Overwrite a contiguous block of cells in a Google Sheet, defined by an A1 range. Provide range WITHOUT the worksheet name — just the cells, e.g. A2:C3 (the tool prepends the worksheet automatically; passing Sheet1!A2:C3 will fail). Provide rows as a JSON array of arrays matching the range, each inner array a row in column order (e.g. range A2:C3 with [["Alice","[email protected]","Active"],["Bob","[email protected]","Active"]]). Use Read Rows to see current values and Get Spreadsheet Info for the column order. This overwrites the range in place; to insert rows and shift others down, use Add Single Row.
Create a new Google Spreadsheet with an optional worksheet name and column headers. Returns the spreadsheet ID and URL. Use the spreadsheet ID with other tools to read/write data.
Add a new worksheet (tab) to an existing spreadsheet. Optionally set column headers. Use Get Spreadsheet Info to see existing worksheets before creating.
Add a single row to a Google Sheet. By default the row is appended to the end. To INSERT the row at a specific position instead — pushing the rows at and below that position DOWN without overwriting them — set Row Index (e.g. Row Index 2 inserts directly below a header row). Use this tool (not Update Row or Update Multiple Rows) whenever the goal is to insert a row between existing rows or add a row while keeping every current row: the Update tools overwrite cells in place and do NOT shift rows down.
Docs ↗Append one or more rows to a Google Sheets worksheet. Pass rows as a JSON array. Preferred format: array of objects with column header keys (e.g., [{"Name": "Alice", "Email": "[email protected]"}]). Use Get Spreadsheet Info first to discover the exact column header names — keys must match headers exactly (case-sensitive). Alternatively, pass rows as arrays of positional values matching column order. New rows are appended after the last row with data.
Append multiple rows to a Google Sheet in one call. Provide rows as a JSON array of arrays — each inner array is one row, with cell values in column order (e.g. [["Alice","[email protected]","Engineering"],["Bob","[email protected]","Paleontology"]]). Use Get Spreadsheet Info first to see the column order. Rows are appended after the last row with data. To add a single row, or to insert at a specific position, use Add Single Row instead.
Upsert a row of data in a Google Sheet.
Docs ↗Update the formatting of a cell in a spreadsheet.
Docs ↗Modify existing conditional formatting rule.
Docs ↗Update a cell in a spreadsheet.
Docs ↗Add data validation rules to cells (dropdowns, checkboxes, date/number validation).
Docs ↗Move a dimension in a spreadsheet.
Docs ↗Merge a range of cells into a single cell.
Docs ↗Insert a dimension into a spreadsheet.
Docs ↗Insert a comment into a spreadsheet.
Docs ↗Insert a note on a spreadsheet cell.
Docs ↗Delete a specific worksheet.
Docs ↗Deletes the specified rows from a spreadsheet.
Docs ↗Remove conditional formatting rule by index.
Docs ↗Create a blank worksheet with a title.
Docs ↗Create a blank spreadsheet or duplicate an existing spreadsheet.
Docs ↗Copy an existing worksheet to another Google Sheets file.
Docs ↗Delete the content of a row or rows in a spreadsheet. Deleted rows will appear as blank rows.
Docs ↗Delete the content of a specific cell in a spreadsheet.
Docs ↗Add edit protection to cell range with permissions.
Docs ↗Create conditional formatting with color scales or custom formulas.
Docs ↗Create a new column in a spreadsheet.
Docs ↗Leo connects Google Sheets to the ERP your business already runs on: the records it reads in Google Sheets land in your ERP, and what changes in the ERP flows back.
Authorize Google Sheets once, in a couple of clicks. Leo only gets the permissions you grant.
In plain language: the dashboard, portal or agent you want across Google Sheets and your ERP. No code, no mapping spreadsheets.
Leo builds it, you review, it goes live. Agents run on a schedule or on events, under the guardrails you set.