business-deadline
Business-day deadline (clear days, cutoffs, DST) on a named or caller calendar — Computes the date (and optionally the instant) a business-day deadline falls on, for an agent drafting or checking a contract, notice, SLA or partner response window: '10 clear business days' (both endpoints excluded) or 'within 10 business days' (end day counted), forward or backward, with an after-cutoff roll, caller or named holiday calendar and a DST-aware deadline time. Named calendars (US fe
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>",
"days": "<days>",
"counting": "<counting>",
"calendar": "<calendar>"
},
"name": "business-deadline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| start | Yes | Local date YYYY-MM-DD, or local date-time YYYY-MM-DDTHH:MM[:SS] (the notice/receipt moment). Never read from the clock. | |
| cutoff | No | Local HH:MM. With a date-time start (direction after), a start strictly later than the cutoff, or on a non-business day, is deemed received on the next business day. 17:00 exactly is on time. Without cutoff there is no roll. | |
| weekend | No | Non-business weekdays, 0=Sunday..6=Saturday. Default [0, 6]; use [5, 6] for a Friday/Saturday weekend. | |
| calendar | Yes | Named holiday calendar with a source and supported date range (outside it the answer is unsupported), weekends-only (Saturday/Sunday only), or caller (only the holidays you list). | |
| counting | Yes | clear: days strictly between start and deadline, so the deadline is business day N+1. elapsed: the deadline is business day N after start (the end day is counted). | |
| holidays | No | Extra non-business dates YYYY-MM-DD (company closures, a calendar we do not carry). | |
| timeZone | No | IANA zone for deadlineTime. | |
| direction | No | Default after. before counts backward from start (for 'at least N days before the hearing'). | |
| deadlineTime | No | Local HH:MM at which the deadline expires on the deadline date; needs timeZone to produce an instant. | |
| disambiguation | No | How to read a deadline time that falls in a DST gap (earlier: before-gap offset reading backward; later: shifted forward) or overlap (earlier/later occurrence). Without it, a gap or overlap returns unknown with both candidates. | |
| claimedDeadline | No | A deadline date someone asserted; the check fails with the computed date if it differs. |