身份证号校验与解析
cn-idcard身份证号校验与解析:18 位身份证号校验(GB 11643 加权校验位)+ 解析出生日期 / 性别 / 年龄 / 行政区划;15 位自动升 18 位;输出自动脱敏,不回显完整号码。 传入参数对象,返回确定性计算结果与依据。适用场景:模型算数不稳、法规口径易错时,调用它拿准确答案。
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": "cn-idcard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | 18 位或 15 位身份证号 |