sheets_write
Write values to a Google Sheets range, overwriting existing data. Specify spreadsheet ID, range, and a 2D array of values for precise updates.
Instructions
Write values to a Google Sheet range. Overwrites existing values in the specified range.
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": {
"account": "<account>",
"spreadsheet_id": "<spreadsheet_id>",
"range": "<range>",
"values": "<values>"
},
"name": "sheets_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | A1 notation range, e.g. "Sheet1!A1". | |
| values | Yes | 2D array of values to write (rows × columns). | |
| account | Yes | Account id. | |
| spreadsheet_id | Yes | Spreadsheet ID. | |
| value_input_option | No | How values are parsed (default USER_ENTERED). |