Write Sheets range
sheets_write_rangeWrite cell values directly into a Google Sheets range, overwriting existing content immediately without confirmation. Use it to update or replace spreadsheet data in one call.
Instructions
Writes cell values into a range in a Google Sheet immediately, overwriting existing content in that range. No confirmation step.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spreadsheetId": "<spreadsheetId>",
"range": "<range>",
"values": "<values>"
},
"name": "sheets_write_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | A1 notation range to write into, e.g. "Sheet1!A1". The written block extends right and down from the start cell, overwriting whatever is there. | |
| values | Yes | Rows of cell values, outer array = rows, inner = columns. e.g. [["Name","Score"],["Ada",91]]. | |
| spreadsheetId | Yes | Spreadsheet id — the long string between "/d/" and "/edit" in the sheet URL. Not the sheet name. | |
| valueInputOption | No | "USER_ENTERED" parses values as if typed, so "=…" becomes a live formula: never use it for text from web pages or messages. Defaults to "RAW". |