Parse uploaded file
layerz_parse_fileParse an Excel/CSV file uploaded out-of-band via layerz_create_upload_url. Returns the detected timeline, structure (suggested_structure), row labels, and column headers (with samples) — token-optimized, never includes the raw binary. The agent typically pipes the row labels into layerz_match_items, then builds entries[] for layerz_import_branch. If a long-format ledger is misdetected (e.g. a "Débit" column chosen as the value, dropping credit rows, or an account-code column taken as the label), re-call with structure_override to correct the columns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | Upload identifier returned by layerz_create_upload_url (format: 'f_' + 16 hex chars). | |
| sheet_name | No | Target sheet name for multi-sheet workbooks. Omit to get sheet summaries. | |
| structure_override | No | Override auto-detected columns for a long-format/ledger file (e.g. value_column chose "Débit" and dropped credit rows, or an account-code column won the label). Omitted fields stay auto-detected. |