read_sheet
Read cell values from an Excel sheet as arrays, records, or markdown tables. Limit rows, offset, or select a range to extract only the data you need from large spreadsheets.
Instructions
Read cell values from a sheet.
Args: path: Path to the .xlsx file, or the name of a preloaded file. Omit if only one file is configured. sheet: Sheet name. cell_range: Optional A1-style range (e.g. "B2:F20"). Omit to read the full used area. max_rows: Optional cap on the number of rows returned, to bound response size for large sheets. offset_row: Skip a number of data rows (0-indexed from first data row). format: "array" (default 2D list), "records" (list of dicts, first row as keys), or "markdown" (table string).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| sheet | Yes | ||
| format | No | array | |
| max_rows | No | ||
| cell_range | No | ||
| offset_row | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||