write_google_sheets_range
Write values or formulas into a rectangle of Google Sheet cells in one call.
Requires Editor access for Octocom's Google account and a connected spreadsheet. See Google Sheets setup.
write_google_sheets_range(sheet_id: str, range: str, values: list, sheet_name: str = None, *, value_input_option: str = "RAW") -> dictOverwrites a bounded range of cells with the values you supply. Use it for layouts that aren't simple tables, such as a summary block a recurring job refreshes every week. Supply a complete rectangular matrix matching a range of at most 10,000 cells. Strings, numbers and booleans are supported. RAW stores literal values, and USER_ENTERED interprets formulas and dates. Empty strings clear values. Returns success, range and updatedCells. It does not insert rows or resize the tab. A timeout does not prove whether the write committed.
Example
write_google_sheets_range(
"SHEET_ID", "A1:C2",
[["Report", "Date", "Public or DM?"], ["Weekly", "2026-10-13", "DM"]],
sheet_name="Reports",
)See Google Sheets helpers for access, limits, merged cells, cache freshness and safe recovery after failures.