Twinkle HubTwinkle Hub

驗證身分證字號

tw_validate_taiwan_id_number

검증 도구 · 20개🇹🇼 대만읽기 전용

驗證中華民國身分證字號或外國人統一證號 (公開算法 derive,無 PII lookup)。

Args: id_number: 10 字元(1 字母 + 9 數字)。例: "A123456789"。

Returns: valid / invalid + sex + 登記縣市(合規說明:演算法本身公開, 不查任何資料庫,純算法 derive)。

파라미터

이름타입설명
id_number *string
원본 JSON schema
{
  "properties": {
    "id_number": {
      "title": "Id Number",
      "type": "string"
    }
  },
  "required": [
    "id_number"
  ],
  "title": "validate_taiwan_id_numberArguments",
  "type": "object"
}

호출 방법

스타터 — 파라미터는 위 표 참조
tw_validate_taiwan_id_number({ id_number: "…" })