idcard_validate
Validates Chinese mainland 18-digit ID numbers using checksum and birth-date checks, returning birth date, age, gender, and region code; does not verify real identity.
Instructions
校验中国大陆 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": {
"id": "<id>"
},
"name": "idcard_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 18 位身份证号,末位可为 X |