write_range
Writes a 2D array of values to a specified A1 notation range in a Google Sheets spreadsheet, enabling targeted updates to rows and cells.
Instructions
Write data to a range in a spreadsheet
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": "write_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | The A1 notation range to write to (e.g., 'Sheet1!A1:D3') | |
| values | Yes | 2D array of values to write (rows of cells) | |
| spreadsheetId | Yes | The ID of the spreadsheet |