Append hàng mới vào Google Sheet
sheets_appendAppend new rows to the end of a Google Sheet without overwriting existing data. Provide spreadsheet ID, sheet name, and a 2D array of values.
Instructions
Thêm hàng mới vào cuối bảng dữ liệu hiện có (không đè dữ liệu cũ).
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>",
"values": "<values>"
},
"name": "sheets_append"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | Range theo A1 notation, ví dụ "Sheet1 (chỉ cần tên sheet)". Có thể chỉ ghi tên sheet (vd "Sheet1") để lấy/ghi cả sheet. | |
| values | Yes | Mảng 2 chiều, mỗi mảng con là 1 hàng cần thêm. | |
| 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. | |
| value_input_option | No | USER_ENTERED |