hermosodocs

manage_sheet_tabs

Add, rename or delete a sheet tab destructive

Area: The Sheets / Docs WRITE surface · Files & documents. Generated from the running MCP server, like the rest of the tool 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

ParameterTypeDescription
spreadsheetIdstringGoogle spreadsheet id; use this or sheetUrl
sheetUrlstringGoogle Sheets link, instead of spreadsheetId
actionrequired"add" | "rename" | "delete"add, rename or delete a tab
tabstringwhich tab — its title or numeric sheetId (rename / delete)
titlestringthe name for the new tab (action:"add")
newTitlestringwhat to rename the tab to (action:"rename")
confirmbooleantrue deletes a tab that holds data; needs confirmCells
confirmCellsnumberthe 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.

All 37 Files & documents tools · tools.json