個資遮罩
pii_maskMasks Taiwan phone numbers, emails, ID numbers, and social media accounts or links in text, returning the masked text and per-category match counts.
Instructions
把文字裡的台灣手機/市話(含 +886、全形、中文數字、分隔符號變形)、Email(含 at/dot 寫法)、身分證字號、 LINE/IG/FB 帳號與社群連結蓋掉,回傳遮罩後文字與各類命中次數。原則上擋常見格式,重要文件仍建議人工再看一遍。
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": "pii_mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 要遮罩的文字 | |
| contacts | No | (選填)要「部分遮罩」顯示的單一聯絡方式清單,例如 ['0900-000-101'],回傳 0900-***-101 |