Count Chile Working Days
count_cl_working_daysUse this when you need an auditable Chile working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.
Do not use this when this package covers Chile's nationwide statutory/public-holiday layer over a Saturday-Sunday baseline. Regional/local holidays, school, bank, private-employer, sector and collective-agreement schedules are not inferred. Commerce mandatory-rest exceptions are preserved as provenance but are not generalized to every worker. Future annual dates require refreshed official evidence. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Chile working days around Chile Labour Day. | Count Chile working days around Chile ordinary working day. | Count Chile working days around Chile winter-solstice Indigenous Peoples Day. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-04-02","end_date":"2026-04-06","include_start_date":true,"include_end_date":true} Outputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: for each included date: working_days += status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/chile-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/chile-public-working-days-between.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | Last date in 2026-2026. | |
| start_date | Yes | First date in 2026-2026. | |
| include_end_date | No | Whether end_date participates. | |
| include_start_date | No | Whether start_date participates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | No | ||
| result | Yes | ||
| request | Yes | ||
| sources | No | ||
| success | Yes | ||
| version | No | ||
| freshness | No | ||
| timestamp | Yes | ||
| next_actions | No | ||
| service_version | Yes | Deployed Calcgrid implementation version used for the result. |