xlsx_healer_cure
Apply a diagnosed repair operation to fix Excel workbook issues such as broken references, missing sources, or permission errors. Returns cured workbook and receipt.
Instructions
Apply ONE specific cure operation against a diagnosed workbook. Operations: rename_move (rewrite ref paths), pattern_bulk (regex-style ref rewrites), source_deleted_freeze (replace broken refs with cached values), source_deleted_redirect (point at a replacement file), source_deleted_localize (snapshot external source into a local copy), permission_denied (strip credentials), structure_changed (rewrite formulas for moved cells), format_change (re-link after extension change), make_standalone (fully dereference all externals). Returns cured workbook bytes + receipt.
USE WHEN: a diagnostic report (xlsx_healer_diagnose) named a specific operation as the recommended fix; or restoring a workbook whose source moved by a known prefix.
DO NOT USE WHEN: the failure mode isn't a supported operation (use xlsx_healer_intent for goal-shaped fixes). Or when diagnose hasn't been run (cures need diagnose-emitted reference_ids).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cure_params | No | ||
| file_b64 | Yes | ||
| intent | No | ||
| mode | No | ||
| operation | Yes |