read_excel_as_table
Read Excel worksheet data as a compact table with headers and rows or record objects, plus optional schema hints for downstream processing.
Instructions
Read Excel data as a compact table with headers and rows or record objects.
sheet_name is a worksheet TAB, not a native table. For an approved named
table use read_excel_table(table_name=...); list_tables maps tables to tabs.
Much more context-efficient than read_data_from_excel for structured data,
with optional inferred schema hints for downstream steps.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filepath": "<filepath>",
"sheet_name": "<sheet_name>"
},
"name": "read_excel_as_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | ||
| end_col | No | ||
| filepath | Yes | Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing. | |
| max_rows | No | ||
| row_mode | No | arrays | |
| start_col | No | A | |
| start_row | No | ||
| header_row | No | ||
| sheet_name | Yes | ||
| infer_schema | No | ||
| include_headers | No | ||
| read_boundary_mode | No | default |