sheets_batchUpdate
Apply spreadsheet updates like conditional formatting, cell/border styling, adding sheets, or permanently deleting content with no undo.
Instructions
Apply updates to a spreadsheet (conditional formatting, cell/border formatting, adding sheets, and more). Can also permanently delete content — e.g. removing a sheet or a conditional formatting rule — with no undo via the API.
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": "sheets_batchUpdate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requests | Yes | Array of update requests as JSON string | |
| spreadsheetId | Yes | The spreadsheet ID |