Skip to content

Commit bc202c1

Browse files
authored
Update get spreadsheet tool (#367)
1 parent 5f8092e commit bc202c1

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

pages/toolkits/productivity/google_sheets.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,17 @@ Create a new spreadsheet with a custom title and optional data in the first shee
6969

7070
## GoogleSheets.GetSpreadsheet
7171

72-
Retrieve all properties and cell data for every sheet in a spreadsheet.
72+
Retrieve the specified range of cells from a single sheet in a spreadsheet.
7373

7474
**Parameters**
7575

7676
- **`spreadsheet_id`** _(string, required)_: The ID of the spreadsheet to retrieve.
77+
- **`sheet_position`** _(int, optional, default 1)_: The position/tab of the sheet in the spreadsheet to get. A value of 1 represents the first (leftmost/Sheet1) sheet.
78+
- **`sheet_id_or_name`** _(string, optional, default None)_: The ID or name of the sheet to get. If not provided, `sheet_position` will be used.
79+
- **`start_row`** _(int, optional, default 1)_: Starting row number (1-indexed).
80+
- **`start_col`** _(string, optional, default 'A')_: Starting column letter(s) or 1-based column number.
81+
- **`max_rows`** _(int, optional, default 1000)_: Maximum number of rows to fetch for each sheet in the spreadsheet. Must be between 1 and 1000.
82+
- **`max_cols`** _(int, optional, default 100)_: Maximum number of columns to fetch for each sheet in the spreadsheet. Must be between 1 and 100.
7783

7884
<br />
7985
<TabbedCodeBlock

0 commit comments

Comments
 (0)