App Logo
docs.google.com

Sheets: rename tab

Rename one tab of a Google Spreadsheet by gid. Returns the gid and the name as displayed after the rename. If no tab in the spreadsheet has that gid it stops with a clear error instead of renaming a different tab. Waits for the editor's save before resolving; needs edit rights.

Input

gid required

gid of the tab to rename (from sheets_list_tabs)

name required

New tab name

spreadsheetId required

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

Output

gid required
name required

Name as displayed after the rename

FAQ

Rename one tab of a Google Spreadsheet by gid. Returns the gid and the name as displayed after the rename. If no tab in the spreadsheet has that gid it stops with a clear error instead of renaming a different tab. Waits for the editor's save before resolving; needs edit rights.
Required: spreadsheetId, gid, name.
It returns gid, name.
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_rename_tab, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/sheets_rename_tab
It is part of Reduck's official curated catalogue.

Start building not clicking