excel_get_info
Retrieve a summary of sheets in an Excel workbook, including name, index, row count, and column count.
Instructions
Return a summary of the workbook's sheets and sizes.
The returned dict contains:
path— absolute path of the file on disk.sheets— list of one dict per sheet, in insertion order. Each entry hasname(str),index(int, 0-based),rows(int, openpyxl'smax_row), andcols(int, openpyxl'smax_column).
Args:
path: Path to an existing .xlsx.
folder: Optional base folder for relative paths.
Raises:
OfficeMCPError: ERR_FILE_NOT_FOUND if the file is
missing, ERR_UNSUPPORTED_FMT for non-.xlsx
extensions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| folder | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||