Lease critical dates
calc_critical_datesDated list of a lease's notice deadlines and option windows, from its expiration date and options: each renewal option's notice deadline or notice window and renewal term (successive options count back from the term before), each termination option's last day to give notice, an expansion option deadline, and other deadlines (a stated date, or N days after a date such as a ROFO notice). Calendar months; N months before a date keeps the day of month, clamped to a shorter month's end (a warning gives the month-end reading when it is later). Deadlines on a weekend or US federal holiday (5 U.S.C. §6103, observed days included) are flagged, or rolled to the preceding or following business day when business_day_roll says so. With as_of: days to each event, passed deadlines warned, and the next deadline. Steps show each computation. Deterministic: use this instead of doing the math yourself; cite formula calc.critical_dates@1 and the returned steps, and surface any warnings.
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": {
"expiration_date": "<expiration_date>"
},
"name": "calc_critical_dates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Date to measure from (YYYY-MM-DD), usually today. Deadlines before it are flagged as passed; next_deadline is the first one on or after it. | |
| holidays | No | Holidays that are not business days: "us_federal" (the eleven US federal holidays of 5 U.S.C. §6103(a), with the federal observed day when one falls on a weekend) or "none" (weekends only). | us_federal |
| renewal_option | No | Renewal options, as lease.renewal_option states them: each is exercised by notice counted back from the expiration in effect when it is exercised. | |
| expiration_date | Yes | Expiration date of the current term (YYYY-MM-DD), as the lease or the latest amendment states it. | |
| other_deadlines | No | Other deadlines: expansion rights, ROFO or ROFR response periods, contraction rights. | |
| business_day_roll | No | What to do with a deadline that falls on a weekend or holiday: "none" (default) keeps the date and flags it; "preceding" moves it to the business day before (never later than the lease date: the safe choice); "following" moves it to the next business day, which only a lease clause that says so allows. | none |
| commencement_date | No | Commencement date (YYYY-MM-DD). Optional; listed as an event and checked to be before expiration_date. | |
| termination_options | No | Early termination options, as lease.termination_option states them; notice counts back from each effective_date. | |
| expansion_option_deadline | No | Last day to exercise an expansion option (lease.expansion_option_deadline), YYYY-MM-DD. |