update_sheet_properties
Modify a Google Sheets tab’s display settings, including tab color, gridline visibility, and right-to-left layout, to match your preferred presentation or regional formatting.
Instructions
Update sheet-level display properties: tab color, gridline visibility, right-to-left layout.
Note: the Sheets API does not expose row/column header visibility as a settable sheet property, so it isn't included here. Frozen row/column counts are handled separately by the freeze tool.
Args: spreadsheet_id: The ID of the spreadsheet sheet: The name of the sheet tab_color: RGB color dict for the sheet tab, e.g. {"red": 1.0, "green": 0.0, "blue": 0.0}. Pass {} to clear the tab color back to the default. show_gridlines: Whether gridlines are shown in the UI. False hides them. right_to_left: Whether the sheet uses right-to-left layout.
Returns: Result of the batchUpdate operation
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>",
"sheet": "<sheet>"
},
"name": "update_sheet_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | ||
| tab_color | No | ||
| right_to_left | No | ||
| show_gridlines | No | ||
| spreadsheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||