clear_values
Clears cell content in a chosen range while preserving formatting; omit the range to clear the entire sheet.
Instructions
Clear cell content in a range without touching formatting.
Args: spreadsheet_id: The ID of the spreadsheet (found in the URL) sheet: The name of the sheet range: A1 notation range to clear (e.g., 'A1:D10'). If omitted, clears the entire sheet.
Returns: Result of the clear operation
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>",
"sheet": "<sheet>"
},
"name": "clear_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | ||
| sheet | Yes | ||
| spreadsheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||