Twinkle HubTwinkle Hub
登入

📌 2026-08-17 新增:⚖️ 台灣法條時光機 — 歷史法條原文 · 修法沿革 · 全文檢索 · 條文關聯圖(935 個 dataset · 35,454+ 筆 row)

查看完整 Changelog →

藥品仿單結構化欄位搜尋

tw_search_drug_label

台灣​專屬MIT

**關鍵字 / Keywords**: 藥品仿單 適應症 副作用 交互作用 drug label indication contraindication side-effect interaction

搜 twinkle-ai/tw-drug-labels-vision (CC-BY-4.0, ~72k 藥品仿單) 結構化欄位.

對打 Taiwan-Health-MCP tw_search_drug 的「依適應症 / 禁忌 / 副作用 / 警語」
關鍵字精準搜尋. 比 tw_search_drug(indication=...) 更全面 (包含禁忌/警語/
副作用/交互作用 等仿單欄位, 不只適應症).

Args:
    keyword: 中文 / 英文 substring
             e.g. "高血壓" / "妊娠" / "肝衰竭" / "失眠" / "心律不整"
    field: 搜哪個 leaflet 欄位 — 預設 "indications". 可選:
             "indications"               適應症
             "contraindications"         禁忌
             "warnings"                  警語 + 注意事項
             "drug_interactions"         交互作用
             "adverse_reactions"         副作用 + 不良反應
             "dosage_and_administration" 用法用量
    limit: 1..100 (default 20)

Returns:
    {n_corpus, n_returned, query, source, hits: [{license_id,
     drug_name_zh, drug_name_en, dosage_form, <field>, source_type}]}

後續 → tw_get_drug_details(license_id) 取完整 28+17 欄位。
想看實際仿單圖片 → 從 tw_get_drug_details 回的 leaflet.source_urls 點 TFDA PDF.

輸入 schema

{
  "properties": {
    "keyword": {
      "title": "Keyword",
      "type": "string"
    },
    "field": {
      "default": "indications",
      "title": "Field",
      "type": "string"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "keyword"
  ],
  "title": "tw_search_drug_labelArguments",
  "type": "object"
}

呼叫​方式

配置​好 Twinkle Hub 的 MCP client 後,​agent 會​看到 tw_search_drug_label。直接讓它呼叫​即可,​例如:

# Ask Claude / any MCP client:
請用 tw_search_drug_label 處理 "…"。

# It will call:
tw_search_drug_label(input="…")

尚未​設定 Client?

Claude Desktop 約 3 分鐘即可完成​設定 — 下載 .mcpb 檔案並雙擊​即可,或參閱​文件中的各 Client 安裝​步驟。

查看使用者設定​文件