Raw batch update (advanced)
batch_updateApply raw Google Sheets API batchUpdate requests to add charts, conditional formatting, merges, data validation, or sorting. Send multiple request objects to modify a spreadsheet atomically.
Instructions
Escape hatch: apply raw Google Sheets API batchUpdate requests (charts, conditional formatting, merges, data validation, sorting — anything the API supports). Each item is one request object from the Sheets API v4 batchUpdate schema.
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>",
"requests": "<requests>"
},
"name": "batch_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requests | Yes | Array of Sheets API v4 Request objects, applied atomically in order | |
| spreadsheetId | Yes | Spreadsheet ID or full Google Sheets URL |