Protect data (encrypt / tokenize / anonymize)
protectProtect sensitive field values by applying encryption, tokenization, or masking based on role and data class. Returns transformed values alongside originals.
Instructions
Protect one or more field values for a given role. The exact technique (encryption, tokenization, anonymization, masking) is server-configured per (className, propertyName). Returns each field's protected value joined to its original. Protect data as early as possible.
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": {
"fields": "<fields>"
},
"name": "protect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Role evidence (who is asking), e.g. R_MANAGER. | R_MANAGER |
| fields | Yes | Field values to protect. | |
| evidences | No | Extra evidence key/value pairs beyond Role/Action. | |
| loggingAttributes | No | Optional audit-log attributes for this call. |