驗證電話格式
twtools-validate_phone
TW 專屬MIT39 近 30 天呼叫
驗證台灣電話號碼格式:行動 (09xx) / 市話 (0Xxxx) / 0800 / +886。 含或不含分隔符 (- 空白) 都可。回傳 type 與 area_code。
輸入 schema
{
"properties": {
"phone": {
"title": "Phone",
"type": "string"
}
},
"required": [
"phone"
],
"title": "validate_phoneArguments",
"type": "object"
}怎麼呼叫
配置好 Twinkle Hub 的 MCP client 後,agent 會看到 twtools-validate_phone。直接讓它呼叫即可,例如:
# Ask Claude / any MCP client: 請用 twtools-validate_phone 處理 "A123456789"。 # It will call: twtools-validate_phone(input="A123456789")
還沒設好 client?
Claude Desktop 各 3 分鐘可接好 — 下載 .mcpb 雙擊即可,或看 docs 各 client 安裝步驟。
看 user 設定文件