Manage Sheet Tab
manage_sheet_tabManages an existing sheet tab by renaming, deleting, hiding, unhiding, reordering, or styling it with tab color and gridline settings. Use it to control the tab itself rather than its rows or columns.
Instructions
Manages an existing sheet tab: rename, delete, hide, unhide, reorder, or style (tab color and gridlines).
Use create_sheet to add a tab, and resize_sheet_dimensions for row and column level changes. This tool operates on the tab itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | One of "rename", "delete", "hide", "unhide", "reorder", "style" | |
| new_name | No | New title, required for action="rename" | |
| new_index | No | New zero-based position, required for action="reorder" | |
| tab_color | No | For action="style": hex tab color (#RRGGBB), or "none" to remove it | |
| sheet_name | Yes | Title of the existing tab to act on | |
| show_gridlines | No | For action="style": show (True) or hide (False) the sheet's gridlines | |
| spreadsheet_id | Yes | ID of the spreadsheet | |
| user_google_email | Yes | User's Google email address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |