appendRows
Appends rows to the end of a Google Sheets range, adding data after the last row with content. Use it to insert new records without overwriting existing sheet data.
Instructions
Appends rows to the end of a sheet. Data is added after the last row with content in the specified range.
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": {
"spreadsheetId": "<spreadsheetId>",
"range": "<range>",
"values": "<values>"
},
"name": "appendRows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | A1 notation range indicating where to append (e.g., "A1" or "Sheet1!A1"). Data will be appended starting from this range. | |
| values | Yes | 2D array of values to append. Each inner array represents a row. | |
| spreadsheetId | Yes | The spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL. | |
| valueInputOption | No | How input data should be interpreted. RAW: values are stored as-is. USER_ENTERED: values are parsed as if typed by a user. | USER_ENTERED |