xlsx_redact
Redact PII and sensitive values from local .xlsx files. Preserves formulas, comments, named ranges, and styles by default; optionally strip formulas or comments.
Instructions
redact PII and sensitive values from a LOCAL .xlsx file before sharing or archiving. DEFAULT preserves formulas + comments + named ranges + styles, strips only cell values. Pass strip_formulas=true / strip_comments=true to remove those too.
ALWAYS pass out_path when the user wants the redacted file saved to disk. WITHOUT out_path: redacted bytes return in _meta.file_b64 (base64) — caller must save them. The response text confirms whether a save happened — trust the response, do not infer.
USE WHEN: the user provides a LOCAL .xlsx path and wants PII removed. Server-side detection; returns a redacted copy with an audit manifest showing what was removed.
DO NOT USE WHEN: the file came from an upload/attachment. Or in sandboxed contexts without local filesystem access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_b64 | Yes | ||
| options | No |