restore_pii
Restore original PII values from placeholders using the server-side vault session created during redaction, keeping sensitive data out of the AI client.
Instructions
Restore PII placeholders in text back to their original values using a vault session created by redact_pii. The vault is maintained server-side — originals were never sent to the AI client.
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": {
"sanitized": "<sanitized>",
"vaultId": "<vaultId>"
},
"name": "restore_pii"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vaultId | Yes | The vault session identifier returned by redact_pii | |
| strategy | No | Placeholder matching strategy: exact (default), caseInsensitive, fuzzy (Levenshtein ≤ 3), or combined (tries all in order). Default: combined | combined |
| sanitized | Yes | The sanitized text containing [REDACTED_<TYPE>_N] placeholders |