Twinkle HubTwinkle Hub

驗證車牌

tw_validate_license_plate

驗證小工具 · 同一族🇹🇼 台灣唯讀

驗證台灣車牌格式並推斷車種。

Args: plate: 車牌字串(含或不含 "-",大小寫皆可)。

Returns: valid / kind (car/motorcycle/heavy_motorcycle/...) / kind_zh / rule_matched / candidates(同格式可能多種車種時列出)。

⚠ 只驗格式,不查車籍/車主/檢驗紀錄(涉 PII,要打公路總局認證 API)。

參數

參數型別說明
plate *string—
原始 JSON schema
{
  "properties": {
    "plate": {
      "title": "Plate",
      "type": "string"
    }
  },
  "required": [
    "plate"
  ],
  "title": "validate_license_plateArguments",
  "type": "object",
  "additionalProperties": false
}

呼叫​方式

起手式——參數見上表
tw_validate_license_plate({ plate: "…" })