read_xlsx
Extract and convert Excel (xlsx) file data into JSON, CSV, or table formats. Specify sheet names, cell ranges, and search parameters for precise data retrieval.
Instructions
Read and extract data from Excel (xlsx) files. Supports reading specific sheets, cell ranges, and converting data to various formats.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filePath | Yes | Path to the Excel file to read | |
format | No | Output format for the data (default: table) | |
includeHeaders | No | Whether to include headers in the output (default: true) | |
maxRows | No | Maximum number of rows to return (default: 100, max: 1000) | |
range | No | Cell range to read (e.g., 'A1:C10', optional, defaults to entire sheet) | |
searchColumn | No | Column name or index to search in (e.g., 'A', '1', or 'Name') | |
searchType | No | Type of search to perform (default: exact) | |
searchValue | No | Value to search for in the specified column | |
sheetName | No | Name of the specific sheet to read (optional, defaults to first sheet) |