sheets_write_range
Update a Google Sheets range by overwriting existing cells with a 2D array. Provide spreadsheet ID, A1 notation, and values to replace content.
Instructions
Write values into a range, overwriting whatever is currently there.
The number of rows/columns in values determines how much of the
sheet is overwritten starting at the top-left of range. Use
sheets_append_values instead if you want to add new rows without
overwriting existing data.
Returns:
str: JSON with updated_range, updated_rows, and updated_cells.
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": {
"params": "<params>"
},
"name": "sheets_write_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |