updateTableRange
Resize a Google Sheets table by updating its A1 range to add or remove rows and columns; the new range must include the original table range.
Instructions
Modifies a table's dimensions (add/remove rows and columns) by updating its range. The new range must include the original table 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>",
"tableIdentifier": "<tableIdentifier>",
"range": "<range>"
},
"name": "updateTableRange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | New A1 notation range for the table (e.g., "Sheet1!A1:F15"). Must include the original table range. | |
| spreadsheetId | Yes | The spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL. | |
| tableIdentifier | Yes | The table name or table ID to update. Use listTables to see available tables. |