文本敏感信息脱敏
pii-mask文本敏感信息脱敏:把文本里的身份证号、银行卡号、手机号、邮箱自动打码,返回脱敏后文本 + 命中统计。Agent 把用户数据送进模型 / 日志 / 第三方之前,先过这一层。 传入参数对象,返回确定性计算结果与依据。适用场景:模型算数不稳、法规口径易错时,调用它拿准确答案。
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": {
"input": "<input>"
},
"name": "pii-mask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | 待脱敏的长文本 |