Parse Id Card
parse_id_card解析 18 位中国大陆居民身份证号:按 GB 11643-1999 校验位算法验证合法性,返回归属地(省/市/区,含邮编区号)、出生日期、实足年龄、生肖、星座、性别。非法号码返回具体错误原因(校验位错误/格式错误/出生日期非法等)。
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": {
"id_number": "<id_number>"
},
"name": "parse_id_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_number | Yes | 18 位身份证号(末位可为 X),仅做本地算法校验,不联网 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||