Taiwan statute · unified diff between two dates
tw_statute_diff
TW-specificMIT
**關鍵字 / 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, ...}Input 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"
}How to call
Once your Twinkle Hub MCP client is configured, your agent will see tw_statute_diff. Just ask it to call — example:
# Ask Claude / any MCP client: 請用 tw_statute_diff 處理 "…"。 # It will call: tw_statute_diff(input="…")
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