Xóa giá trị trong 1 range
sheets_clearClears cell values within a specified range in a Google Sheet while preserving formatting and borders. Provide spreadsheet ID and range in A1 notation.
Instructions
Xóa nội dung (giá trị) trong 1 range, không xóa format/border.
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": "sheets_clear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | Range theo A1 notation, ví dụ "Sheet1!A2:D100". Có thể chỉ ghi tên sheet (vd "Sheet1") để lấy/ghi cả sheet. | |
| spreadsheet_id | Yes | ID của Google Sheet — lấy từ URL (docs.google.com/spreadsheets/d/<ID>/edit) hoặc dùng tool drive_list_spreadsheets để tìm theo tên. |