Count Malaysia Division Working Days
count_my_working_daysUse this when you need an auditable division-specific 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 the division is unknown or employer/sector replacement-day rules matter. What it computes: Counts working and non-working dates for a selected Malaysian division over the pinned 2027 schedule. Example user requests: Count Kuala Lumpur working days from 2027-02-01 to 2027-02-15. Inputs: start_date (date); end_date (date); division (enum); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2027-02-01","end_date":"2027-02-15","division":"KUL","include_start_date":true,"include_end_date":true} Outputs: normalized_start_date, normalized_end_date, working_days, non_working_days, public_holidays_counted, territory, territory_name, division, division_name, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_observed, rest_day_policy, substitute_day_policy, calendar_scope, calendar_profile, dataset_version, sources. Formula: for each included date: working_days += selected status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/malaysia-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/malaysia-working-days-between.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| division | Yes | Required federal-territory/state code: KUL, LBN, PJY, JHR, KDH, KTN, MLK, NSN, PHG, PRK, PLS, PNG, SBH, SWK, SGR or TRG. | |
| end_date | Yes | Last date in 2027. | |
| start_date | Yes | First date in 2027. | |
| 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. |