get_redaction_log
Audit PII redaction activity via per-pattern counts from the runtime redaction log. Filter by source and lookback to confirm the redaction chokepoint is firing; empty results mean no scrubbing has occurred.
Instructions
Forensic accounting of PII redactions for a dataset. Returns per-pattern counts from runtime_redaction_log (populated by ingest_sql_log with redact=True), so operators can verify the chokepoint is firing on production traffic. Filter by source and lookback window. Empty result with no traces ingested is not an error — it just means no scrubbing has happened yet.
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": {
"dataset_id": "<dataset_id>"
},
"name": "get_redaction_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Optional source filter. Today: 'sql_log'. | |
| dataset_id | Yes | ||
| since_days | No | Lookback window for last_seen. Default 30. |