Business Days
business_daysDo business-day math that skips weekends and your holiday list. FREE.
Either add N business days to start_date (set add_days), or count the business days between start_date and end_date (set end_date). Typical input {"start_date": "2026-03-02", "add_days": 10} returns {"result_date": "2026-03-16", "result_weekday": "Monday", ...}; with end_date set it returns {"business_days_between": N, "from": ..., "to": ...}.
Use when the span must exclude weekends and named holidays. Not for plain calendar-day differences, which are a direct subtraction, and not for scheduling backward from a fixed deadline (deadline_planner). Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "dates must be YYYY-MM-DD"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add_days | No | Business days to add; negative subtracts. Range -5000 to 5000. Ignored when end_date is provided. | |
| end_date | No | Optional end date, ISO YYYY-MM-DD. When set, the tool counts business days between start_date and end_date instead of adding. | |
| holidays | No | Optional list of ISO YYYY-MM-DD dates to treat as non-working days, e.g. ["2026-12-25"]. | |
| start_date | Yes | Anchor date in ISO format YYYY-MM-DD, e.g. "2026-03-02". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||