Check output for leaked identifiers
check_outputScan model output for leaked protected values, re-tokenize any verbatim reappearance, and return sanitized text with leak categories.
Instructions
Scan generated text for verbatim reappearance of the original values held in a protected session (tolerant of spacing, dashes and case for identifier-like values) and re-tokenise anything found. Returns which token categories leaked — never the raw values — plus the sanitised text and a general self-check. Scope is verbatim reappearance only: paraphrases and inferred identities are not detected.
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": {
"text": "<text>",
"session_id": "<session_id>"
},
"name": "check_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Model output to inspect. | |
| session_id | Yes | The session_id returned by protect. |