restore_file
Restores original values in a redacted file locally using a mapping, without API calls, and reports only the number of placeholders replaced.
Instructions
Put the original values back into a file, locally (no API call). Returns only how many placeholders were restored, not the values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | ||
| input_path | Yes | File containing placeholders, e.g. an edited redacted file or an LLM answer saved to disk. | |
| output_path | Yes | Where to write the restored file. | |
| mapping_path | Yes | The .map.json written by redact_file. |