{"id":"iso-date-business-days-count","version":"1.0.0","description":"Count the business days in an inclusive date range, skipping caller-supplied weekend weekdays and holidays.","supported_operations":["iso date business days count","count working days between dates","business days between two dates"],"unsupported_operations":["built-in national holiday calendars","timezones","half-day rules","signed/negative ranges"],"semantics":["start and end are strict YYYY-MM-DD calendar dates with year 0001-9999. start must not be after end.","end minus start must not exceed 366000 days.","weekend_days is an array of ISO weekday integers 1-7, unique, at most 6 entries. holidays is an array of unique YYYY-MM-DD dates, at most 366 entries.","business_days counts every date d with start <= d <= end whose ISO weekday is not in weekend_days and that is not listed in holidays."],"limits":{"year_min":1,"year_max":9999,"max_range_days":366000,"max_weekend_days":6,"max_holidays":366},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["start","end","weekend_days","holidays"],"properties":{"start":{"type":"string","minLength":10,"maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"end":{"type":"string","minLength":10,"maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"weekend_days":{"type":"array","maxItems":6,"items":{"type":"integer","minimum":1,"maximum":7}},"holidays":{"type":"array","maxItems":366,"items":{"type":"string","minLength":10,"maxLength":10}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["business_days"],"properties":{"business_days":{"type":"integer","minimum":0}}},"examples":[{"input":{"start":"2026-09-14","end":"2026-09-20","weekend_days":[6,7],"holidays":[]},"output":{"business_days":5}},{"input":{"start":"2026-09-14","end":"2026-09-20","weekend_days":[6,7],"holidays":["2026-09-16"]},"output":{"business_days":4}}],"execute_url":"/v1/tools/iso-date-business-days-count/versions/1.0.0/execute"}