excel_read_sheet
Retrieve a rectangular range of cells from an Excel sheet as a markdown table or raw data, with optional formula evaluation.
Instructions
Read a rectangular cell range from an Excel sheet.
Indices are 1-based (row 1 is first row, col 1 is 'A').
Args:
file_path: Path to the Excel file.
sheet_name: Target sheet name (defaults to active sheet).
start_row: Starting row index (1-based, inclusive, default 1).
end_row: Ending row index (1-based, inclusive, default 50).
start_col: Starting column index (1-based, inclusive, default 1).
end_col: Ending column index (1-based, inclusive, default 20).
evaluate_formulas: If True (default), returns calculated values. If False, returns raw formula strings.
format: 'markdown' (default formatted table) or 'raw' (2D list of values).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | markdown | |
| end_col | No | ||
| end_row | No | ||
| file_path | Yes | ||
| start_col | No | ||
| start_row | No | ||
| sheet_name | No | ||
| evaluate_formulas | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |