scan_and_tokenize_mena_pii
Scans mixed Arabic/English MENA text, normalizes Arabic-Indic digits, verifies and HMAC-tokenizes or masks Saudi, Egyptian and UAE IDs, IBANs and Saudi addresses to protect PII in logs and prompts.
Instructions
Scan mixed Arabic/English text (normalizing Arabic-Indic digits) and HMAC-tokenize checksum-verified Saudi IDs/Iqamas, Egyptian 14-digit IDs, UAE Emirates IDs, MOD-97 MENA IBANs, and Saudi SPL addresses.
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>"
},
"name": "scan_and_tokenize_mena_pii"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | tokenize | |
| text | Yes |