台灣工作日
tw_workdaysDetermine Taiwan workdays and national holidays from the official government calendar. Check a single date, count workdays in a range, or add N workdays from a start date.
Instructions
依人事行政總處「政府行政機關辦公日曆表」判斷台灣的上班日、國定假日、補假、補行上班日。 只給 start:查那一天;加 end:算區間工作日;加 add:推算第 N 個工作日。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start": "<start>"
},
"name": "tw_workdays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | (選填)從 start 往後推 N 個工作日(負數往前推),例如「10 個工作天內」 | |
| end | No | (選填)結束日:算 start~end(含頭尾)之間有幾個工作日、哪些國定假日 | |
| start | Yes | 日期 YYYY-MM-DD |