check_typhoon_closure
Check Taiwan typhoon closures (天然災害停止上班上課) for today, tomorrow, or any date since 2001-07-30, nationally or by city. Returns work and school status, periods, and notes so you can confirm whether offices or classes are stopped.
Instructions
查詢台灣颱風假(天然災害停止上班上課)。今天、明天讀行政院人事行政總處(DGPA)即時頁,其他日期讀 2001-07-30 起的歸檔。 頂層 work/school 的 status 判讀規則:
stopped:全縣市停止,時段見 period/from。
conditional:只有部分地區、學制或時段停止,必須逐一讀 cities[].rows 判斷是否適用使用者所在地;未指定縣市時只要有任何停止就是 conditional。
normal:有公告且照常,或確定當日無公告。
unknown:無法判斷。絕對不可當成「照常上班上課」回答,應告知無法確認並請使用者查看縣市政府或 DGPA 公告。 reason 非 null 代表結果仍可能改變:live 為即時頁、當天仍可能更新;pending 為歸檔可能尚未收錄(昨天到 21 天前常見);source_not_ready 為當年度資料尚未產生。 回答時請轉述 summary 與 notes,並以各縣市政府公告為準。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | 縣市名稱(可選),例如「臺北市」;台/臺視為相同。縣市名保留當時名稱,不對應改制前後的行政區。省略則回傳全國 | |
| date | No | 要查詢的日期(臺灣時間),支援 today、tomorrow、YYYY-MM-DD 或 YYYYMMDD;省略為今天。最早 2001-07-30 |