excel_to_json
Extract data from Excel sheets and convert to structured JSON with headers and typed rows. Specify sheet index and header presence for precise data extraction.
Instructions
Extract data from an Excel sheet and return structured JSON.
Returns headers (if present) and typed data rows.
Args: excel_base64: Base64-encoded Excel file. sheet_index: Sheet index to extract (0-based, default: 0). has_header: Whether the first row is a header (default: true).
Returns: JSON with sheetName, totalRows, headers, and data array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| excel_base64 | Yes | ||
| sheet_index | No | ||
| has_header | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |