身份证号格式校验
validate_id_cardVerify the format and checksum of Chinese ID cards. Extract critical data such as birth date, gender, and region from the ID string for local development needs.
Instructions
校验中国大陆居民身份证号格式、出生日期与校验位,解析出生日期、性别、地区。仅做格式校验,不查询、不核验真实身份
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": "<id>"
},
"name": "validate_id_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 15 或 18 位身份证号 |