redline_redact
Scans JSONL prompt-response logs for common secrets and personally identifiable information, then redacts matches to create a safe output file or performs a scan-only check.
Instructions
Scan or redact common secrets and PII from JSONL prompt-response logs.
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": {
"log_path": "<log_path>"
},
"name": "redline_redact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory where redline should run. | |
| out | No | Redacted JSONL output path. Required unless check is true. | |
| json | No | Print machine-readable JSON. | |
| check | No | Scan only; do not write a redacted file. | |
| config | No | Config path to read. | |
| log_path | Yes | JSONL prompt-response log to scan or redact. | |
| placeholder | No | Replacement text for redacted values. | |
| max_output_bytes | No | Maximum stdout/stderr bytes returned to the MCP client. |