sheets_update_table
Updates an existing Google Sheets table by optionally changing its name, range, or column definitions.
Instructions
Update an existing native Google Sheets table by tableId
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>",
"tableId": "<tableId>",
"fields": "<fields>"
},
"name": "sheets_update_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional new table name | |
| range | No | Optional new A1 notation range for the table, e.g. "A1:D20" | |
| fields | Yes | Required field mask for the table update, e.g. "name", "range", "columnProperties", or "name,range" | |
| columns | No | Optional replacement column definitions for the table | |
| tableId | Yes | The ID of the table to update | |
| sheetName | No | Name of the target sheet when updating the table range | |
| spreadsheetId | Yes | The ID of the spreadsheet (found in the URL after /d/) |