# Hermoso: manage_sheet_tabs: Add, rename · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/files/manage_sheet_tabs/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Files & documents](https://hermoso.ai/docs/reference/files/) / manage_sheet_tabs

# `manage_sheet_tabs`

Add, rename or delete a sheet tab destructive

Area: The Sheets / Docs WRITE surface · [Files & documents](https://hermoso.ai/docs/reference/files/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Add, rename or delete a tab in a Google Spreadsheet. action:"add" + title · action:"rename" + tab + newTitle · action:"delete" + tab. Name the tab by its TITLE or its numeric sheetId (list_sheet_tabs gives both); an unknown tab is refused with the real list rather than a Google error nobody can map back. DELETING a tab destroys everything on it: call it without confirm first to get the filled-cell count, then confirm:true + confirmCells. Google does not allow removing the LAST remaining tab in a file, and that is refused by name with the way out (clear it, or delete the whole file with delete_drive_file). Every action is read back from the spreadsheet before it is reported as done.

## Parameters

Parameter Type Description

`spreadsheetId` `string` Google spreadsheet id; use this or sheetUrl

`sheetUrl` `string` Google Sheets link, instead of spreadsheetId

`action` required `"add" | "rename" | "delete"` add, rename or delete a tab

`tab` `string` which tab — its title or numeric sheetId (rename / delete)

`title` `string` the name for the new tab (action:"add")

`newTitle` `string` what to rename the tab to (action:"rename")

`confirm` `boolean` true deletes a tab that holds data; needs confirmCells

`confirmCells` `number` the filled-cell count an unconfirmed delete reported

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/manage_sheet_tabs`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_sheet_tabs","arguments":{"action":"<one of the listed values>"}}}`
**CLI**

`hermoso call manage_sheet_tabs --json '{"action":"<one of the listed values>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [list_sheet_tabs](https://hermoso.ai/docs/reference/files/list_sheet_tabs/) List the tabs in a Google Sheet
- [delete_drive_file](https://hermoso.ai/docs/reference/workspace/delete_drive_file/) Delete a Drive file
- [clear_sheet_range](https://hermoso.ai/docs/reference/files/clear_sheet_range/) Clear a range in a Google Sheet
- [format_sheet](https://hermoso.ai/docs/reference/files/format_sheet/) Format a Google Sheet
- [update_sheet](https://hermoso.ai/docs/reference/files/update_sheet/) Write to a range in a Google Sheet
- [update_doc](https://hermoso.ai/docs/reference/files/update_doc/) Edit a Google Doc in place

[All 37 Files & documents tools](https://hermoso.ai/docs/reference/files/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
