scrub_unmask_text
Restores original sensitive values into an LLM response using the local token_map to reverse masking before returning text to the user.
Instructions
Restores original sensitive values into an LLM response using the local token_map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The LLM response containing masked tokens like {{EMAIL_1}} | |
| token_map | Yes | The token map dictionary returned during masking |