redact_file
Reads local logs, JSON, or text files, redacts PII and secrets, and returns the content after human approval in a review UI.
Instructions
Read a local file (log, .gz log, JSON, text document), redact PII/secrets and return the content after the user approves it in the review UI. Use this instead of Read for logs and official documents.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |