Twinkle HubTwinkle Hub
Sign in

📌 2026-08-17 added: ⚖️ Taiwan statute time machine — historical article text · revision history · full-text search · citation graph (935 datasets · 35,454+ rows)

View full changelog →

Validate phone

tw_validate_phone

TW-specificMIT

驗證台灣電話號碼格式:行動 (09xx) / 市話 (0Xxxx) / 0800 / +886。 含或不含分隔符 (- 空白) 都可。回傳 type 與 area_code。

Input schema

{
  "properties": {
    "phone": {
      "title": "Phone",
      "type": "string"
    }
  },
  "required": [
    "phone"
  ],
  "title": "validate_phoneArguments",
  "type": "object"
}

How to call

Once your Twinkle Hub MCP client is configured, your agent will see tw_validate_phone. Just ask it to call — example:

# Ask Claude / any MCP client:
請用 tw_validate_phone 處理 "A123456789"。

# It will call:
tw_validate_phone(input="A123456789")

Haven't set up a client yet?

Claude Desktop in 3 minutes — download the .mcpb and double-click, or see docs for other clients.

See user docs