truthgate_mask_context
Locally masks API keys, PII, and credentials in code, logs, or documents before sending to an LLM, preventing sensitive data exposure.
Instructions
Zero-egress local DLP: Masks API keys, PII, and credentials in code, .env, or logs before feeding to LLM.
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": {
"content": "<content>"
},
"name": "truthgate_mask_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Raw code, log, or document text to redact |