batch_write
Write values to multiple ranges in a single batch update call using the Sheets API ValueRange format.
Instructions
Write values to multiple ranges in one values batchUpdate call.
data items use the Sheets API ValueRange shape, e.g.
{"range": "Sheet1!A1:B2", "values": [[1, 2], [3, 4]]}.
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>",
"data": "<data>"
},
"name": "batch_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| spreadsheet_id | Yes | ||
| value_input_option | No | RAW |