Skip to main content

List sheets

List the sheets (tabs) of a spreadsheet with their size and visibility.

Command in the Google Workspace toolkit · id ooa.google/sheets_list_sheets · 4 inputs (2 required), 3 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialYesGoogle OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
Spreadsheet IDStringYesThe spreadsheet: its id, its full link (https://docs.google.com/spreadsheets/d/...), or its exact name in Drive (a name made only of letters, digits, - and _ is read as an id; use the link for such names).
Exclude hiddenBooleanNofalseLeave hidden sheets out.
Endpoint addressStringNoReplaces https://*.googleapis.com for testing or a proxy; leave empty normally.

Outputs​

OutputTypeWhat it is
tableTableColumns: sheet_id, name, index, hidden, rows, columns.
namesListSheet names in tab order.
countNumberNumber of sheets listed.