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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | Yes | Google OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Spreadsheet ID | String | Yes | The 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 hidden | Boolean | No | false | Leave hidden sheets out. |
| Endpoint address | String | No | Replaces https://*.googleapis.com for testing or a proxy; leave empty normally. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Columns: sheet_id, name, index, hidden, rows, columns. |
| names | List | Sheet names in tab order. |
| count | Number | Number of sheets listed. |