update_values
Modify spreadsheet cell data by writing values to specified ranges in Google Sheets, supporting various data types and input formats.
Instructions
Update values in a range of 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": {
"spreadsheet_id": "<spreadsheet_id>",
"range": "<range>",
"values": "<values>"
},
"name": "update_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheet_id | Yes | The ID of the spreadsheet | |
| range | Yes | A1 notation range to update | |
| values | Yes | 2D array of values to write | |
| input_option | No | How to interpret input (RAW or USER_ENTERED) | USER_ENTERED |