Redact a file
redact_fileRedact sensitive data like PII, PHI, PCI, and secrets from local files, including images, PDFs, scans, and text. Writes a redacted copy to disk without modifying the original, then returns its path.
Instructions
Redact PII, PHI, PCI and secrets out of a local file — image, PDF, scan or text — and write the redacted copy to disk. The original is never modified. Returns the path to the redacted file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "redact_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| overwrite | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||