2つの日の間の営業日の数
jp_business_days_betweenCount Japanese business days (営業日) between two dates, skipping Saturdays, Sundays and the official Japanese holidays from the Cabinet Office CSV. Calendar "bank" also skips Dec 31–Jan 3 (銀行の休日, 銀行法施行令 第5条). By default the start date is not counted and the end date is counted. It is meant for deadlines, payment terms (支払期日), delivery dates and "how many 営業日" questions. At most 1,100 days apart; dates outside the holiday data (currently up to 2027-12-31) return an error.
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>",
"end": "<end>"
},
"name": "jp_business_days_between"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | 終わりの日(YYYY-MM-DD) | |
| start | Yes | 始めの日(YYYY-MM-DD) | |
| calendar | No | national=土日と国民の祝日・休日を休み(既定)。bank=それに加えて 12/31〜1/3 も休み(銀行の休日) | |
| count_end | No | 終わりの日を数えるか(既定 true) | |
| count_start | No | 始めの日を数えるか(既定 false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | この答えに効いた決まり・前提(日本語) | |
| result | Yes | ||
| doc_url | Yes | 人が読む説明のページ(式・出所・例)。利用者に次に読んでもらう先 | |
| sources | Yes | ||
| law_as_of | No | 出所が書く法令の基準日(例:2026-04-01=令和8年4月1日現在法令等) | |
| checked_on | Yes | Cyclix Agents が出所を最後に確かめた日 | |
| disclaimer | Yes |