Skip to content

read_google_sheet

Read one connected Google Sheet. Without ranges, get its title, tabs, and dimensions (optionally with the formatting presets); with ranges, read bounded A1 range values. This is a data-only inspection and returns gsheet_result_ref, which present_gsheet_planner takes when the user asks to see the sheet or ranges.

read-only · idempotent

Name Type Required Default Description
model_name string Yes — Name of the Bridge Town model.
ranges list of string No None Bounded A1-notation ranges, such as [‘Sheet1!A1:D10’]. Omit to get the spreadsheet’s title, tabs, and dimensions instead of cell values.
spreadsheet_id string No None Google Spreadsheet ID from the sheet URL.
source_name string No None Logical name of the connected Google Sheet data source.
include_format_presets boolean No False Metadata only (no ranges). When true, include the finance-oriented Google Sheets formatting presets (a reference vocabulary for describing a manual formatting style; Bridge Town has no tool that applies formatting itself) without an extra call.
workspace_id string No None

Returns a structured object. Top-level fields:

  • spreadsheet_id (string)
  • title (string)
  • sheets (array<object>)
  • format_presets (array<object>)

See the response example below for the full payload shape.

{
"name": "read_google_sheet",
"arguments": {
"model_name": "forecasts",
"spreadsheet_id": "1aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789ABCDEFG",
"include_format_presets": true
}
}
{
"spreadsheet_id": "1aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789ABCDEFG",
"title": "FY26 Forecast",
"sheets": [
{
"sheetId": 0,
"title": "Forecast",
"index": 0
}
],
"format_presets": [
{
"name": "financial_table",
"description": "Financial table styling."
},
{
"name": "kpi_dashboard",
"description": "Key-value dashboard styling."
}
]
}

Without ranges the tool returns the spreadsheet’s title, tabs, and dimensions. Pass ranges (1-100 A1 ranges) to read bounded cell values instead; each range returns at most 100 rows and 100 columns, with truncated: true when a range was cut. include_format_presets applies only to the metadata read and is rejected together with ranges.

{
"model_name": "forecasts",
"ranges": ["Forecast!A1:C4"],
"spreadsheet_id": "1aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789ABCDEFG"
}

The result carries ranges: [{"range": ..., "values": [[...]]}]. Either read returns a gsheet_result_ref that present_gsheet_planner opens with view: "metadata" or view: "ranges" to match.

  • Module: Google Sheets
  • Requires an authenticated Bridge Town session (OAuth) or an API token.