期限からの逆算日を計算
jp_calc_deadlineCalculate the exact calendar date to act a specified number of business days before a due date, excluding weekends and holidays.
Instructions
有効期限・締切日などの基準日から、指定した営業日数だけ前の「対応期限日」を計算します。「基準日のX営業日前までに提出・対応する」という管理(更新期限のリマインダー設定など)に使えます。土日・祝日は数えず、実際に動ける営業日ベースで逆算します。
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": {
"referenceDate": "<referenceDate>",
"businessDaysBefore": "<businessDaysBefore>"
},
"name": "jp_calc_deadline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| referenceDate | Yes | 基準日(有効期限・締切日など、YYYY-MM-DD) | |
| businessDaysBefore | Yes | 基準日の何営業日前までに対応するか(例: 10) |