set_tab_color
Change the color of a sheet tab in Google Sheets using a hex color code. Specify the spreadsheet, sheet, and color to update the tab visually.
Instructions
Change the color of a sheet tab.
Args: spreadsheet_id: The ID of the spreadsheet sheet: Sheet/tab name color: Hex color (e.g., '#FF0000' for red, '#00FF00' for green). Use '#FFFFFF' or 'none' to remove color.
Returns: Result of the color change 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>",
"color": "<color>"
},
"name": "set_tab_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheet_id | Yes | ||
| sheet | Yes | ||
| color | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |