redact_file
Redact a UTF-8 text file into a new copy without exposing contents, reporting only per-type counts so personal data stays out of the conversation.
Instructions
Redact a text file into a new file without showing its contents. Returns only counts per type, so the personal data never enters the conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | No | Only these types; default all. | |
| overwrite | No | ||
| input_path | Yes | UTF-8 text file to redact (.txt, .md, .csv, .json, .log, .eml...). | |
| output_path | Yes | Where to write the redacted copy. | |
| save_mapping | No | Also write <output_path>.map.json (owner-only permissions) so restore_file can put the original values back later. |