list_google_sheets_tabs
List the tabs in a Google Sheet with their visibility and size.
Requires Viewer access for Octocom's Google account and a connected spreadsheet. See Google Sheets setup.
list_google_sheets_tabs(sheet_id: str) -> dictReturns the spreadsheet's tabs, so your code can find the right tab before it reads or writes. The result is {"tabs": [...]} with sheetId, title, index, hidden, rowCount and columnCount. It reads fresh metadata, and Viewer access is enough.
Example
tabs = list_google_sheets_tabs("SHEET_ID")["tabs"]
for tab in tabs:
if not tab["hidden"]:
print(tab["title"], tab["rowCount"], tab["columnCount"])See Google Sheets helpers for access, limits, merged cells, cache freshness and safe recovery after failures.