App Logo
docs.google.com

Sheets: delete tab

Delete one tab of a Google Spreadsheet by gid. Returns deletedGid and remainingTabs (names left). The sheet's data goes with it (recover via Undo / Drive history); an unknown gid throws rather than risk deleting the wrong sheet; needs edit rights.

Input

gid required

gid of the tab to delete (from sheets_list_tabs)

spreadsheetId required

Spreadsheet id or any full docs.google.com spreadsheet URL

Output

deletedGid required
remainingTabs required

Names of the tabs left after deletion

FAQ

Delete one tab of a Google Spreadsheet by gid. Returns deletedGid and remainingTabs (names left). The sheet's data goes with it (recover via Undo / Drive history); an unknown gid throws rather than risk deleting the wrong sheet; needs edit rights.
Required: spreadsheetId, gid.
It returns deletedGid, remainingTabs.
Yes. It acts as you on docs.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the docs.google.com cookies saved by the Reduck extension.
It makes changes on docs.google.com, like sending, posting or booking something.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/sheets_delete_tab, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/sheets_delete_tab
It is part of Reduck's official curated catalogue.

Start building not clicking