Clear ranges
sheets_clearClear values from specified A1 ranges in Google Sheets while preserving formatting, with an optional dryRun preview before applying.
Instructions
Clear values from A1 ranges, leaving formatting intact. Supports dryRun.
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": "<spreadsheet>",
"ranges": "<ranges>"
},
"name": "sheets_clear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | When true, returns the exact API request that would be sent plus an impact summary, and sends nothing. | |
| ranges | Yes | A1 ranges to clear. Clears values only; formatting is left intact. | |
| account | No | Google account to act as. Optional when one account is authorised or a default is set; required otherwise. | |
| spreadsheet | Yes | Spreadsheet URL or file id. Both accepted; a URL has its id extracted. |