clear_sheet
Clear data from a specified range in a Google Sheet to remove content while preserving formatting and the sheet.
Instructions
Clear data from a specified range in a Google Sheet.
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>",
"range": "<range>"
},
"name": "clear_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | The range to clear (e.g., 'Sheet1!A1:D10' or 'A1:D10') | |
| spreadsheet_id | Yes | The ID of the Google Sheet (from the URL: docs.google.com/spreadsheets/d/{ID}) |