Compute Deadlines
compute_deadlinesCompute every reporting deadline of one regime from the moment of awareness. FREE.
Typical input {"regime": "eu_nis2", "event_type": "significant_incident", "awareness_at": "2026-09-14T09:30:00+02:00"} returns {"deadlines": [{"obligation": "early_warning", "due_at": "2026-09-15T09:30+02:00", "citation": "Art. 23(4)(a)", ...}, ...]}. Later clocks that run from an earlier submission are estimated from that report's due time until you pass the actual time in submitted. DORA needs classification_at and a country for the bank-holiday rule; the SEC needs materiality_determined_at; HIPAA takes discovery_date and flags.individuals_affected. Use when an incident has just been identified and the agent needs the instants. Not for several regimes at once: use compute_deadlines_multi. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "flags must be an object"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | No | condition answers: high_risk, processor, ongoing, handled_at, individuals_affected, max_residents_of_one_state, business_associate. | |
| regime | Yes | regime id from list_regimes. | |
| subdiv | No | optional subdivision code for the holiday calendar (e.g. BY for Bavaria). | |
| country | No | ISO 3166-1 alpha-2 code for the public-holiday calendar (DORA weekend rule; SEC uses US). | |
| submitted | No | actual submission times of earlier reports, e.g. {"initial_notification": "..."}. | |
| event_type | No | event type within the regime; optional when the regime has one. | |
| awareness_at | Yes | when the entity became aware, ISO 8601 with a UTC offset. | |
| entity_class | No | e.g. trust_service_provider (NIS2), credit_institution / central_counterparty / trading_venue_operator / nis2_essential_or_important (DORA), business_associate (HIPAA). | |
| discovery_date | No | HIPAA - the date the breach is treated as discovered (defaults to awareness date). | |
| classification_at | No | DORA - when the incident was classified as major. | |
| measure_available_at | No | CRA - when a corrective or mitigating measure became available. | |
| materiality_determined_at | No | SEC - when the incident was determined to be material. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||