Twinkle HubTwinkle Hub
登入

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

查看完整 Changelog →

台灣法條新舊版對照 diff

tw_statute_diff

台灣​專屬MIT

**關鍵字 / Keywords**: 法條 新舊法 對照 diff 修正比對 statute compare before-after 修法差異

【Region】Taiwan (ROC · 中華民國) 法條歷史。

【EN keywords】Taiwan statute diff · compare law text between dates · ROC statute change diff · 中華民國 法條 新舊對照 · 修法對照

【何時用】用戶想**對照**同一台灣法條在兩個時間點的差異 (新舊法對照 · 修正前後 diff)。

【Topics covered · descriptive keyword list】新舊法對照 · 修法對照 · 法條 diff · 修正前 vs 修正後 · statute diff

對照台灣法規某條在兩日期間的差異 · 兩個日期都採 latest-≤-date 語意 (跟 tw_statute_at_date 一致)。若兩者對到同版本 · changed=False。

Args:
    law_name, article: 見 tw_statute_at_date
    date_a: 舊日期 · "YYYY-MM-DD" or "YYYYMMDD"
    date_b: 新日期 · 同上

Returns:
    若無差異: {changed: False, text, revision_date_a/b, ...}
    若有差異: {changed: True, unified_diff, text_a, text_b,
               revision_date_a, revision_date_b, source_url_a/b, ...}

輸入 schema

{
  "properties": {
    "law_name": {
      "title": "Law Name",
      "type": "string"
    },
    "article": {
      "title": "Article",
      "type": "string"
    },
    "date_a": {
      "title": "Date A",
      "type": "string"
    },
    "date_b": {
      "title": "Date B",
      "type": "string"
    }
  },
  "required": [
    "law_name",
    "article",
    "date_a",
    "date_b"
  ],
  "title": "tw_statute_diffArguments",
  "type": "object"
}

呼叫​方式

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

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

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

尚未​設定 Client?

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

查看使用者設定​文件