MCP-Server

Calcgrid

com.tttkmbb/calcgrid
Produktivität Öffentlich und erreichbar MCP 2025-11-25

Was dieses MCP kann

Runs general-purpose calculators for loans, dates, lunar and solar terms, time zones, units, and a larger catalog of specialized calculations.

add_ar_working_days
Add Argentina Working Days
Use this when you need a deterministic Argentina working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when provincial, municipal, employer, bank, exchange, school, sector and religion-specific schedules are not generalized; regional one-off holidays are not included in this nationwide default. What it computes: Adds or subtracts Argentina authority-scope working days in exact coverage. Example user requests: Add or subtract Argentina working days around Argentina national holiday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/argentina-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/argentina-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'AR (Argentina).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Argentina nationwide national holidays and published tourism non-working days for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Argentina.gob.ar 2026 national calendar; religious/community non-working days are retained but are not universal closures'}, 'territory_name': {'type': 'string', 'description': 'Argentina'}, 'dataset_version': {'type': 'string', 'description': 'ar-national-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'argentina-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published 2026 transferred dates are included; future or Saturday/Sunday transfers are not inferred because authority selection remains explicit'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_at_working_days
Add Austria Working Days
Use this when you need a deterministic Austria working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when nationwide statutory holiday list only. Werktag is not uniform across Austrian legal domains; Saturday treatment, provincial patron days, school, bank, employer and sector schedules are not inferred. What it computes: Adds or subtracts Austria authority-scope working days in exact coverage. Example user requests: Add or subtract Austria working days around Austrian National Day. | Add or subtract Austria working days around Ordinary weekday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/austria-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/austria-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'AT (Austria).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Austria nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': "Austria's nationwide statutory public holidays are included; provincial patron-saint days, school holidays and employer/sector closures are not inferred."}, 'territory_name': {'type': 'string', 'description': 'Austria'}, 'dataset_version': {'type': 'string', 'description': 'at-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'austria-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No substitute-day closure is inferred for a holiday falling on Sunday; Austrian holiday-rest and Sunday-rest rules remain distinct from an invented next-working-day closure.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_australia_working_days
Add Australia State/Territory Working Days
Use this when you need a state/territory-specific Australian date offset in 2026-2027. 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 the task needs local, employer, exchange or future-year rules. What it computes: Adds or subtracts working days using the selected Australian state/territory public-holiday calendar. Example user requests: Add five NSW working days after 2026-04-24. Inputs: start_date (date); division (enum); working_days (integer). Complete JSON argument examples: {"start_date":"2026-04-24","division":"nsw","working_days":5} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, division, division_name, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_observed, limited_or_part_day_events, calendar_scope, calendar_profile, source_quality, regional_policy, dataset_version. Formula: move one day at a time; decrement remaining only when selected status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/australia-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/australia-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'division': 'nsw', 'start_date': '2026-04-24', 'working_days': 5}], 'required': ['start_date', 'division', 'working_days'], 'properties': {'division': {'enum': ['act', 'nsw', 'nt', 'qld', 'sa', 'tas', 'vic', 'wa'], 'type': 'string', 'examples': ['nsw'], 'description': 'Required Australian state/territory code: act, nsw, nt, qld, sa, tas, vic or wa.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-04-24'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [5], 'description': 'Signed offset; start date is excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or public holiday.'}, 'division': {'type': 'string', 'description': 'Normalized state/territory code.'}, 'territory': {'type': 'string', 'description': 'AU.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR baseline weekend.'}, 'division_name': {'type': 'string', 'description': 'State/territory name.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Full-day public holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'State/territory-wide full-day public holidays plus weekly baseline.'}, 'is_working_day': {'type': 'boolean', 'description': 'True when the date is not a weekend or included full-day state/territory public holiday.'}, 'source_quality': {'type': 'string', 'description': 'Official government sources with state/territory scope.'}, 'territory_name': {'type': 'string', 'description': 'Australia.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Fair Work package.'}, 'regional_policy': {'type': 'string', 'description': 'Limited-event policy.'}, 'calendar_profile': {'type': 'string', 'description': 'australia-fairwork-public-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'True when an additional/substitute date is explicitly listed.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Full-day state/territory holidays crossed.'}, 'limited_or_part_day_events': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Regional, partial-day, public-service-only or otherwise limited events that do not close the full division by default.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_bd_working_days
Add Bangladesh Working Days
Use this when you need a deterministic Bangladesh working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when government/public-office schedule only; private-employer, bank, school, industrial-zone, essential-service, regional hill-district, optional-religious and later unlisted ad hoc schedules are not inferred. February 10 is not included because the reported later holiday was industrial-zone specific. Lunar dates may be revised by a later official notice. What it computes: Adds or subtracts Bangladesh authority-scope working days in exact coverage. Example user requests: Add or subtract Bangladesh working days around Election-period special holiday. | Add or subtract Bangladesh working days around Eid-ul-Adha period. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/bangladesh-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/bangladesh-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'BD (Bangladesh).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Bangladesh 2026 government public-office holiday schedule plus later election-period national closures'}, 'holiday_policy': {'type': 'string', 'description': 'Bangladesh_2026_MOPA_public_office_schedule_plus_election_amendment'}, 'territory_name': {'type': 'string', 'description': 'Bangladesh'}, 'dataset_version': {'type': 'string', 'description': 'bd-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'bangladesh-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'government_notification_dates_only; lunar_dates_may_change; regional_optional_and_employer_rules_not_inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_be_working_days
Add Belgium Working Days
Use this when you need a deterministic Belgium working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when private-sector statutory core only; substitute dates, public-service/community/regional holidays, sector agreements, employer, school, bank and municipal schedules are not inferred. What it computes: Adds or subtracts Belgium authority-scope working days in exact coverage. Example user requests: Add or subtract Belgium working days around Belgian National Day. | Add or subtract Belgium working days around Ordinary weekday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/belgium-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/belgium-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'BE (Belgium).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Belgium ten statutory private-sector public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'The ten statutory Belgian labour public holidays are included; the public-sector, community, regional, sector and employer calendars are not substituted into this national core.'}, 'territory_name': {'type': 'string', 'description': 'Belgium'}, 'dataset_version': {'type': 'string', 'description': 'be-legal-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'belgium-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': "No substitute-day closure is inferred. If a statutory holiday coincides with Sunday or an undertaking's ordinary inactivity day, the substitute day is fixed by the competent joint committee or undertaking."}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_bg_working_days
Add Bulgaria Working Days
Use this when you need a deterministic Bulgaria working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when bulgaria 2026 nationwide statutory holidays, observed non-attendance days and January 2 one-off rest over an explicitly selected Monday-Friday planning baseline. November 1 is education-only and does not add general rest. No personal, shift, school, employer, bank/exchange, optional religious-leave, payroll or legal-deadline schedule is computed. Future years and additional local/sector closures are unsupported. What it computes: Adds or subtracts Bulgaria authority-scope working days in exact coverage. Requires explicit mon_fri_planning; education-only holidays do not create general rest. Example user requests: Add or subtract Bulgaria working days around One-off euro transition rest, not statutory holiday. | Add or subtract Bulgaria working days around May 24 Sunday replacement. | Add or subtract Bulgaria working days around No nationwide school-holiday substitute. Inputs: start_date (date); working_days (integer); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0,"work_schedule":"mon_fri_planning"} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_observed_non_attendance_day, is_one_off_non_attendance_day, is_education_only_holiday, observed_for_dates, payroll_scope. Formula: planning_workday = weekday AND no nationwide statutory/observed/one-off rest event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/bulgaria-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/bulgaria-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'working_days', 'work_schedule'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline, not a universal legal roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday, observed_non_attendance_day, one_off_non_attendance_day, weekend_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'BG (Bulgaria).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed; holiday and non-attendance pay rules differ.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Bulgaria 2026 nationwide rest-day facts with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Labour_Code_154_statutory_observed_and_Council_one_off_non_attendance'}, 'territory_name': {'type': 'string', 'description': 'Bulgaria'}, 'dataset_version': {'type': 'string', 'description': 'bg-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'bulgaria-public-holidays'}, 'observed_for_dates': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Original statutory holiday dates for observed non-attendance, or an empty list.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is one of the 14 general-scope article 154(1) dates; excludes education-only November 1 and non-attendance substitutes.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Article_154_2_non_Easter_weekend_replacement_pinned_2026_dates'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}, 'is_education_only_holiday': {'type': 'boolean', 'description': 'November 1 education-only annotation; not extra general rest.'}, 'is_one_off_non_attendance_day': {'type': 'boolean', 'description': 'Whether result.date is January 2, 2026 one-off non-attendance.'}, 'is_observed_non_attendance_day': {'type': 'boolean', 'description': 'Whether result.date is a pinned article 154(2) observed rest date.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_br_working_days
Add Brazil Working Days
Use this when you need a deterministic Brazil working-day offset. 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 is not a universal Brazilian private-employer calendar; state, municipal, sector, employer and private payroll schedules are not inferred. What it computes: Adds or subtracts Brazil authority-scope working days in exact coverage. Example user requests: Add or subtract Brazil working days around Tiradentes. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/brazil-federal-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/brazil-federal-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'BR (Brazil).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Brazil federal executive public administration (SIPEC)'}, 'holiday_policy': {'type': 'string', 'description': 'Portaria MGI federal public-administration national holidays and ponto facultativo events; optional events are preserved as federal-scope optional days'}, 'territory_name': {'type': 'string', 'description': 'Brazil'}, 'dataset_version': {'type': 'string', 'description': 'br-mgi-federal-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'brazil-federal-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No private-sector, state or municipal substitute-day rule is inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_canada_federal_working_days
Add Canada Federal Working Days
Use this when you need a deterministic baseline offset for a federally regulated-employer calendar in 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a provincial, private-employer or schedule-specific substitution result. What it computes: Adds or subtracts dates using Canada federal general holidays and a Saturday/Sunday baseline; schedule-dependent substitute days remain unresolved. Example user requests: Add five Canada federal working days after 2026-09-28. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-09-29","working_days":1} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, federal_general_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_observed, holiday_actual_dates, weekend_days, rest_day_policy, substitute_day_policy, calendar_scope, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement remaining only when Canada federal status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/canada-federal-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/canada-federal-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-09-29', 'working_days': 1}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-09-28'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [5], 'description': 'Signed offset; start date is excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Canada.ca and Canada Labour Code sources.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or Canada federal general holiday.'}, 'territory': {'type': 'string', 'description': 'CA.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR Saturday/Sunday baseline.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canada Labour Code general holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Federally regulated employers only.'}, 'territory_name': {'type': 'string', 'description': 'Canada.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Canada.ca evidence package.'}, 'rest_day_policy': {'type': 'string', 'description': 'Scheduled-workday and employer substitution rules are not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'canada-federal-general-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'False because substitute dates depend on schedule and agreement and are not inferred.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'holiday_actual_dates': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Actual general-holiday dates.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Canada.ca rule summary with schedule-dependent boundary.'}, 'federal_general_holidays_skipped': {'type': 'array', 'description': 'Canada general holidays crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_china_working_days
Add Mainland China Working Days
Use this when you need a deadline or settlement date a stated number of mainland China national working days before or after a 2024-2026 date. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need calendar days, a sector-specific settlement calendar, a local holiday calendar, or a result outside the 2024-2026 coverage. What it computes: Adds or subtracts official mainland China working days, skipping holiday periods and ordinary weekends while counting State Council-designated weekend makeup workdays. Example user requests: What date is 5 China working days after 2026-09-24, accounting for Mid-Autumn and National Day? | 从2026年9月18日起往后数5个中国工作日是哪天? | Subtract 10 official mainland China business days from 2026-03-02. Inputs: start_date (date); working_days (integer, working days). Complete JSON argument examples: {"start_date":"2026-09-24","working_days":5} | {"start_date":"2026-09-18","working_days":5} Outputs: start_date, result_date, result_weekday, result_is_working_day, working_days_added [working days], calendar_days_elapsed [days], non_working_days_skipped [days], adjusted_workdays_counted, source_document_ids, dataset_version, coverage_start, coverage_end. Formula: move one calendar day at a time in sign(working_days); decrement the remaining count only when is_working_day(date) is true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/china-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/china-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-09-24', 'working_days': 5}, {'start_date': '2026-09-18', 'working_days': 5}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-09-24'], 'description': 'Starting mainland China civil date (YYYY-MM-DD), within 2024-2026.'}, 'working_days': {'type': 'integer', 'x-unit': 'working days', 'maximum': 750, 'minimum': -750, 'examples': [5], 'description': 'Signed number of official working days to add; the start date is excluded when non-zero. Negative values move backward. Unit: working days.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'start_date': {'type': 'string', 'format': 'date', 'description': 'Input start date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached after adding the requested working days.'}, 'coverage_end': {'type': 'string', 'format': 'date', 'description': 'Last supported date in this package.'}, 'coverage_start': {'type': 'string', 'format': 'date', 'description': 'First supported date in this package.'}, 'result_weekday': {'type': 'string', 'description': 'Weekday of result_date.'}, 'dataset_version': {'type': 'string', 'description': 'Version of the source-traceable mainland China work-calendar package.'}, 'working_days_added': {'type': 'integer', 'x-unit': 'working days', 'description': 'Signed working-day offset requested. Unit: working days.'}, 'source_document_ids': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Official notice identifiers used across the traversed years.'}, 'calendar_days_elapsed': {'type': 'integer', 'x-unit': 'days', 'description': 'Signed Gregorian day difference result_date − start_date. Unit: days.'}, 'result_is_working_day': {'type': 'boolean', 'description': 'Whether result_date is an official working day.'}, 'non_working_days_skipped': {'type': 'integer', 'x-unit': 'days', 'description': 'Number of holiday/weekend dates crossed and not counted. Unit: days.'}, 'adjusted_workdays_counted': {'type': 'array', 'description': 'Weekend makeup workdays crossed and counted, with date and related holiday.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_ch_working_days
Add Switzerland Working Days
Use this when you need a deterministic Switzerland working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when federal layer only. Cantonal public holidays, municipal holidays, employer, collective-agreement, school, bank and exchange schedules are not inferred; Swiss law permits cantons to recognize additional holidays. What it computes: Adds or subtracts Switzerland authority-scope working days in exact coverage. Example user requests: Add or subtract Switzerland working days around Swiss National Day. | Add or subtract Switzerland working days around Cantonal holiday is not inferred. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/switzerland-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/switzerland-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'CH (Switzerland).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Switzerland federal public holiday layer for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Swiss National Day on 1 August is included as the only federal public holiday.'}, 'territory_name': {'type': 'string', 'description': 'Switzerland'}, 'dataset_version': {'type': 'string', 'description': 'ch-federal-public-holiday-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'switzerland-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when 1 August falls on a weekend.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_cl_working_days
Add Chile Working Days
Use this when you need a deterministic Chile working-day offset. 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: Adds or subtracts Chile authority-scope working days in exact coverage. Example user requests: Add or subtract Chile working days around Chile Labour Day. | Add or subtract Chile working days around Chile ordinary working day. | Add or subtract Chile working days around Chile winter-solstice Indigenous Peoples Day. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/chile-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/chile-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'CL (Chile).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Chile nationwide statutory/public holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Chile_Ley_2977_plus_related_statutory_and_labour_rules'}, 'territory_name': {'type': 'string', 'description': 'Chile'}, 'dataset_version': {'type': 'string', 'description': 'cl-national-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'chile-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_2026_Ley_19668_and_Ley_20299_weekday_rules_are_included; future_or_regional_transfers_are_not_inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_co_working_days
Add Colombia Working Days
Use this when you need a deterministic Colombia working-day offset. 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 Colombia's nationwide statutory paid-rest holiday layer over a Saturday-Sunday baseline. Municipal, departmental, school, bank, employer, sector and local patron-saint schedules are not inferred. Future annual calendars require refreshed official evidence. What it computes: Adds or subtracts Colombia authority-scope working days in exact coverage. Example user requests: Add or subtract Colombia working days around Colombia transferred Three Kings holiday. | Add or subtract Colombia working days around Colombia Good Friday. | Add or subtract Colombia working days around Ordinary Colombia working day. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/colombia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/colombia-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'CO (Colombia).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Colombia nationwide statutory paid-rest public holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Colombia_Ley_51_1983_plus_Ministry_of_Finance_2026_calendar'}, 'territory_name': {'type': 'string', 'description': 'Colombia'}, 'dataset_version': {'type': 'string', 'description': 'co-government-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'colombia-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_2026_Ley_51_Monday_transfers_are_included; future_or_local_transfers_are_not_inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_cz_working_days
Add Czech Republic Working Days
Use this when you need a deterministic Czech Republic working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when czech Republic 2026 statutory rest-day facts over an explicitly selected Monday-Friday planning baseline. This is not a universal legal weekly roster. No shift, individual employer, bank/exchange, school, retail opening, payroll or legal-deadline schedule is computed. Commemorative days do not add rest; no substitute Monday is inferred. Future-year coverage is not asserted. What it computes: Adds or subtracts Czech Republic authority-scope working days in exact coverage. Requires explicit mon_fri_planning; commemorative events do not create rest. Example user requests: Add or subtract Czech Republic working days around Two names on January 1, one rest date. | Add or subtract Czech Republic working days around Education commemorative day remains a planning workday. | Add or subtract Czech Republic working days around November 17 is a Czech statutory rest day. Inputs: start_date (date); working_days (integer); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0,"work_schedule":"mon_fri_planning"} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_state_holiday, is_other_holiday, is_statutory_holiday, is_commemorative_day, payroll_scope. Formula: planning_workday = weekday AND no state_holiday AND no other_holiday Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/czech-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/czech-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'working_days', 'work_schedule'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline, not a statutory universal roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'state_holiday, other_holiday, weekend_baseline or regular_workday; commemorations alone do not add rest.'}, 'territory': {'type': 'string', 'description': 'CZ (Czech Republic).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Czech Republic 2026 statutory holidays with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Act_245_2000_sections_1_2_3_rest_section_4_commemorative'}, 'territory_name': {'type': 'string', 'description': 'Czech Republic'}, 'dataset_version': {'type': 'string', 'description': 'cz-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'czech-public-holidays'}, 'is_other_holiday': {'type': 'boolean', 'description': 'Whether result.date is a section 2 other holiday.'}, 'is_state_holiday': {'type': 'boolean', 'description': 'Whether result.date is a section 1 state holiday.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'is_commemorative_day': {'type': 'boolean', 'description': 'Whether result.date has a section 4 event effective at that occurrence; does not add rest.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is a statutory holiday under section 1 or 2.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No automatic substitute Monday inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_de_working_days
Add Germany Working Days
Use this when you need a deterministic Germany working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when state, municipal, school, bank, TARGET, transport-system, collective-agreement and employer-specific schedules are not inferred. What it computes: Adds or subtracts Germany authority-scope working days in exact coverage. Example user requests: Add or subtract Germany working days around German Unity Day. | Add or subtract Germany working days around Ordinary weekday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/germany-national-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/germany-national-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'DE (Germany).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Germany nationwide statutory public holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Only the nine holidays listed by the Bundesbank as valid for the entire Federal Republic are included; state-specific holidays are not inserted.'}, 'territory_name': {'type': 'string', 'description': 'Germany'}, 'dataset_version': {'type': 'string', 'description': 'de-national-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'germany-national-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a holiday falls on a weekend.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_dk_working_days
Add Denmark Working Days
Use this when you need a deterministic Denmark working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when nationwide statutory list only. Collective-agreement, employer, sector, school, bank, local and customary half-day closures are not inferred; Store Bededag is not a holiday from 2024 onward. What it computes: Adds or subtracts Denmark authority-scope working days in exact coverage. Example user requests: Add or subtract Denmark working days around Ascension Day. | Add or subtract Denmark working days around Constitution Day is not a statutory holiday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/denmark-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/denmark-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'DK (Denmark).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Denmark nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': "Danish nationwide statutory public holidays are included; May 1, Constitution Day, Christmas Eve and New Year's Eve are explicitly not inferred as public holidays."}, 'territory_name': {'type': 'string', 'description': 'Denmark'}, 'dataset_version': {'type': 'string', 'description': 'dk-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'denmark-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No substitute-day closure is inferred when a statutory holiday falls on a weekend.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_ee_working_days
Add Estonia Working Days
Use this when you need a deterministic Estonia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when estonia 2026 statutory rest facts over an explicitly selected Monday-Friday planning baseline. Sixteen national-importance dates do not add rest. Four dates carry a conditional three-hour shortening rule but still count as one planning working date, not a half-day or full-day holiday. No substitute or bridge is invented. Individual shifts, actual working hours, opening hours, employer/local/sector/school/bank schedules, replacement weekly rest, payroll, legal deadlines and future years are not computed. What it computes: Adds or subtracts Estonia authority-scope working days in exact coverage. Requires explicit mon_fri_planning; national-importance dates and three-hour shortening never add full-day rest. Example user requests: Add or subtract Estonia working days around Independence Day is statutory rest. | Add or subtract Estonia working days around Shortened working date is not full-day rest. | Add or subtract Estonia working days around National importance does not imply rest. Inputs: start_date (date); working_days (integer); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0,"work_schedule":"mon_fri_planning"} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_non_working_day, is_day_of_national_importance, is_shortened_workday, statutory_shortening_hours, shortening_scope, working_hours_scope, personal_roster_scope, payroll_scope. Formula: planning_workday = weekday AND no statutory_full_day_rest_event; shortened working dates count once Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/estonia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/estonia-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'working_days', 'work_schedule'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline; not an individual legal roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'national_holiday_rest, public_holiday_rest, shortened_workday, weekend_baseline or regular_workday; observances do not add rest.'}, 'territory': {'type': 'string', 'description': 'EE (Estonia).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Estonia 2026 statutory rest and conditional shortening facts with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'PTS_sections_1_2_rest; section_3_observances_non_rest; ECA_53_shortening_not_full_rest'}, 'territory_name': {'type': 'string', 'description': 'Estonia'}, 'dataset_version': {'type': 'string', 'description': 'ee-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'estonia-public-holidays'}, 'shortening_scope': {'type': 'string', 'description': 'Conditions and limits of shortening.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'working_hours_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'is_shortened_workday': {'type': 'boolean', 'description': 'Whether result.date carries the conditional ECA 53 shortening rule; not full-day rest.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No_unpublished_substitute_or_bridge_day_inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}, 'statutory_shortening_hours': {'type': 'integer', 'description': 'Three on a shortening-rule date, zero otherwise. Rule magnitude only, NOT computed individual hours or entitlement.'}, 'is_statutory_non_working_day': {'type': 'boolean', 'description': 'Whether result.date is a statutory full-day rest holiday under PTS sections 1-2, excluding ordinary weekends.'}, 'is_day_of_national_importance': {'type': 'boolean', 'description': 'Whether result.date is a PTS section 3 observance without extra rest.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_eg_working_days
Add Egypt Working Days
Use this when you need a deterministic Egypt working-day offset. 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 the official nationwide public-holiday layer published for Egyptian government/public-sector scope. Private employers, banks, schools, diplomatic missions, exchanges, local or sector calendars may differ and are not inferred. Friday-Saturday is the ordinary weekend baseline; special remote-work or operating-hour decisions are not treated as holidays. Islamic dates and later Prime Minister decisions require a refreshed package. What it computes: Adds or subtracts Egypt authority-scope working days in exact coverage. Example user requests: Add or subtract Egypt working days around Eid al-Fitr public holiday. | Add or subtract Egypt working days around Ordinary Egypt working day. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/egypt-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/egypt-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'EG (Egypt).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Egypt 2026 official public-holiday layer for ministries, government bodies, public authorities, local administration and public-sector/public-business companies'}, 'holiday_policy': {'type': 'string', 'description': 'Egypt_Presidency_2026_official_holiday_table_plus_Prime_Minister_public_sector_notices'}, 'territory_name': {'type': 'string', 'description': 'Egypt'}, 'dataset_version': {'type': 'string', 'description': 'eg-official-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'egypt-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_2026_dates_only; no future_lunar_or_unannounced_substitute_day_inference'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_es_working_days
Add Spain Working Days
Use this when you need a deterministic Spain working-day offset. 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 remaining national, autonomous-community, Ceuta/Melilla and up to two municipal local holidays require a jurisdiction-specific calendar. What it computes: Adds or subtracts Spain authority-scope working days in exact coverage. Example user requests: Add or subtract Spain working days around National Day. | Add or subtract Spain working days around Ordinary weekday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/spain-national-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/spain-national-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'ES (Spain).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Spain nationwide national non-substitutable labour holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Only national non-substitutable holidays from the BOE calendar are included; autonomous-community and local holidays are not inserted.'}, 'territory_name': {'type': 'string', 'description': 'Spain'}, 'dataset_version': {'type': 'string', 'description': 'es-national-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'spain-national-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Autonomous-community substitution choices and local compensatory arrangements are not inferred.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_fi_working_days
Add Finland Working Days
Use this when you need a deterministic Finland working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when nationwide full-day public-holiday layer only. Midsummer Eve, Christmas Eve, employer, collective-agreement, sector, school, bank, Åland, Sámi and local closures are not inferred; private-sector annual-leave counting may treat Saturdays and certain eves differently. What it computes: Adds or subtracts Finland authority-scope working days in exact coverage. Example user requests: Add or subtract Finland working days around Independence Day. | Add or subtract Finland working days around Midsummer Eve is agreement-dependent. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/finland-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/finland-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'FI (Finland).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Finland nationwide church and national full-day public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Finnish church and national public holidays are included; Midsummer Eve and Christmas Eve are not treated as nationwide statutory full-day holidays because their paid-day status is commonly agreement-dependent.'}, 'territory_name': {'type': 'string', 'description': 'Finland'}, 'dataset_version': {'type': 'string', 'description': 'fi-nationwide-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'finland-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a public holiday falls on a weekend.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_fr_working_days
Add France Working Days
Use this when you need a deterministic France working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when alsace-Moselle, overseas territories, employer, sector, school, bank, exchange and regional calendars are not inferred. What it computes: Adds or subtracts France authority-scope working days in exact coverage. Example user requests: Add or subtract France working days around Bastille Day. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/france-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/france-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'FR (France).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'France national legal public holidays'}, 'holiday_policy': {'type': 'string', 'description': 'Article L3133-1 national legal list; May 1 has special mandatory-rest protection while other holidays can be worked under applicable collective/employer rules'}, 'territory_name': {'type': 'string', 'description': 'France'}, 'dataset_version': {'type': 'string', 'description': 'fr-legifrance-public-holidays-2026-09-29.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'france-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No national substitute-day closure is inferred; Alsace-Moselle and local/sector rules require separate authority evidence'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_gh_working_days
Add Ghana Working Days
Use this when you need a deterministic Ghana working-day offset. 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 the nationwide statutory/public-holiday layer only. It is not a universal private-employer, bank, exchange, school, local, sector or essential-service calendar. The 2026 package uses observed dates published or cross-checked for 2026; lunar dates and later Executive Instruments may change. It does not treat the pre-Act-1142 4 August Founder’s Day or 2025-era September naming as current law, and it does not infer additional closure days from the legal anchors alone. What it computes: Adds or subtracts Ghana authority-scope working days in exact coverage. Example user requests: Add or subtract Ghana working days around Republic Day observed. | Add or subtract Ghana working days around Ordinary Ghana working day. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/ghana-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/ghana-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'GH (Ghana).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Ghana 2026 nationwide statutory/public-holiday layer over a Saturday-Sunday weekend'}, 'holiday_policy': {'type': 'string', 'description': 'Ghana_Public_Holidays_Act_Act_1142_and_2026_Ministry_of_Interior_Notices'}, 'territory_name': {'type': 'string', 'description': 'Ghana'}, 'dataset_version': {'type': 'string', 'description': 'gh-national-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'ghana-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_observed_dates_only; Act_1142_midweek_and_weekend_rules_are_not_inferred_without_a_2026_notice'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_global_public_holiday_working_days
Add Global Public-Holiday Reference Working Days
Use this when you need a 2026-2028 date offset and accept the OpenHolidays nationwide-only, no-inferred-substitute-day reference semantics. 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 task requires a direct official authority, regional/local or employer calendar, substitute-day rules, or dates outside the published coverage. What it computes: Adds or subtracts working days using the pinned OpenHolidays nationwide public-holiday reference and CLDR weekend rule for a supported country. Example user requests: Add five reference working days to 2026-10-23 in Austria. Inputs: start_date (date); territory (enum); working_days (integer, working days). Complete JSON argument examples: {"start_date":"2026-10-23","territory":"AT","working_days":5} Outputs: start_date, result_date, working_days_added [working days], calendar_days_elapsed [days], non_working_weekend_days_skipped [days], public_holidays_skipped, territory, territory_name, weekend_days, holiday_names, holiday_policy, calendar_scope, calendar_profile, substitute_day_policy, source_quality, dataset_version, coverage_start, coverage_end, source_commit. Formula: move one Gregorian day at a time; decrement remaining only when the reference status is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-public-holiday-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/global-public-holiday-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'territory': 'AT', 'start_date': '2026-10-23', 'working_days': 5}], 'required': ['start_date', 'territory', 'working_days'], 'properties': {'territory': {'enum': ['AD', 'AL', 'AT', 'BE', 'BG', 'BY', 'CH', 'CZ', 'DE', 'EE', 'ES', 'FR', 'HR', 'HU', 'IE', 'IT', 'LI', 'LT', 'LU', 'LV', 'MC', 'MD', 'MT', 'MX', 'NL', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK', 'SM', 'VA', 'ZA'], 'type': 'string', 'pattern': '^[A-Z]{2}$', 'examples': ['DE'], 'maxLength': 2, 'description': 'ISO-style alpha-2 country code supported by the pinned OpenHolidays public-holiday reference snapshot.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-23'], 'description': 'Gregorian start date in 2026-2028.'}, 'working_days': {'type': 'integer', 'x-unit': 'working days', 'maximum': 1000, 'minimum': -1000, 'examples': [5], 'description': 'Signed offset; the start date is excluded for non-zero offsets. Unit: working days.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'territory': {'type': 'string', 'description': 'Normalized uppercase country code.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'coverage_end': {'type': 'string', 'format': 'date', 'description': 'Last supported date.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR weekend convention used as the base rule.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Included nationwide public-holiday names on the date.'}, 'source_commit': {'type': 'string', 'description': 'Immutable source-data repository commit.'}, 'calendar_scope': {'type': 'string', 'description': 'Weekday plus nationwide public-holiday reference.'}, 'coverage_start': {'type': 'string', 'format': 'date', 'description': 'First supported date.'}, 'holiday_policy': {'type': 'string', 'description': 'Nationwide public events only; regional and substitute-day rules are not inferred.'}, 'source_quality': {'type': 'string', 'description': 'Open public-source aggregation, not a direct national authority feed.'}, 'territory_name': {'type': 'string', 'description': 'English country name from the source catalogue.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned OpenHolidays snapshot version.'}, 'calendar_profile': {'type': 'string', 'description': 'global-public-holiday-reference.'}, 'working_days_added': {'type': 'integer', 'x-unit': 'working days', 'description': 'Signed requested offset. Unit: working days.'}, 'calendar_days_elapsed': {'type': 'integer', 'x-unit': 'days', 'description': 'Signed Gregorian difference. Unit: days.'}, 'substitute_day_policy': {'type': 'string', 'description': 'not_inferred.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Included nationwide public-holiday events crossed.'}, 'non_working_weekend_days_skipped': {'type': 'integer', 'x-unit': 'days', 'description': 'Weekend dates crossed. Unit: days.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_global_reference_working_days
Add Global Reference Working Days
Use this when you need a broad 2026-2028 date offset and accept OpenWorkdays reference semantics, including its source observed/estimated flags. 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 task requires a direct official authority, regional/local or employer calendar, or dates outside published coverage. What it computes: Adds or subtracts working days using the pinned OpenWorkdays national-scope reference for 246 country/territory codes. Example user requests: Add five broad-reference working days to 2026-10-23 in Australia. Inputs: start_date (date); territory (enum); working_days (integer, working days). Complete JSON argument examples: {"start_date":"2026-10-23","territory":"AU","working_days":5} Outputs: start_date, result_date, working_days_added [working days], calendar_days_elapsed [days], non_working_weekend_days_skipped [days], public_holidays_skipped, territory, territory_name, source_territory_name, weekend_days, working_weekend_day, holiday_names, holiday_observed, holiday_estimated, holiday_policy, calendar_scope, calendar_profile, substitute_day_policy, source_quality, dataset_version, coverage_start, coverage_end, source_url. Formula: move one Gregorian day at a time; decrement remaining only when the source reference status is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-reference-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/global-reference-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'territory': 'AU', 'start_date': '2026-10-23', 'working_days': 5}], 'required': ['start_date', 'territory', 'working_days'], 'properties': {'territory': {'enum': ['AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AR', 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BS', 'BT', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR', 'CU', 'CV', 'CW', 'CX', 'CY', 'CZ', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'HK', 'HN', 'HR', 'HT', 'HU', 'ID', 'IE', 'IL', 'IM', 'IN', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NU', 'NZ', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'RE', 'RO', 'RS', 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WF', 'WS', 'XK', 'YE', 'YT', 'ZA', 'ZM', 'ZW'], 'type': 'string', 'pattern': '^[A-Z]{2}$', 'examples': ['AU'], 'maxLength': 2, 'description': 'ISO-style alpha-2 country code supported by the pinned OpenWorkdays reference snapshot.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-23'], 'description': 'Gregorian start date in 2026-2028.'}, 'working_days': {'type': 'integer', 'x-unit': 'working days', 'maximum': 1000, 'minimum': -1000, 'examples': [5], 'description': 'Signed offset; the start date is excluded for non-zero offsets. Unit: working days.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'territory': {'type': 'string', 'description': 'Normalized uppercase country code.'}, 'source_url': {'type': 'string', 'description': 'Pinned OpenWorkdays source index.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'coverage_end': {'type': 'string', 'format': 'date', 'description': 'Last supported date.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Weekend convention supplied by the source country file.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Included national-scope public-holiday names on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'National reference plus country weekend and explicit working-weekend dates.'}, 'coverage_start': {'type': 'string', 'format': 'date', 'description': 'First supported date.'}, 'holiday_policy': {'type': 'string', 'description': 'National-scope events with source observed/estimated flags preserved.'}, 'source_quality': {'type': 'string', 'description': 'Open derived reference, not a direct national authority feed.'}, 'territory_name': {'type': 'string', 'description': 'Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned OpenWorkdays snapshot version.'}, 'calendar_profile': {'type': 'string', 'description': 'global-working-day-reference.'}, 'holiday_observed': {'type': 'boolean', 'description': 'True when an included event is marked observed by the source.'}, 'holiday_estimated': {'type': 'boolean', 'description': 'True when an included event is marked estimated by the source.'}, 'working_days_added': {'type': 'integer', 'x-unit': 'working days', 'description': 'Signed requested offset. Unit: working days.'}, 'working_weekend_day': {'type': 'boolean', 'description': 'True when the source explicitly marks a weekend date as an official working day.'}, 'calendar_days_elapsed': {'type': 'integer', 'x-unit': 'days', 'description': 'Signed Gregorian difference. Unit: days.'}, 'source_territory_name': {'type': 'string', 'description': 'Raw country name from the hash-pinned OpenWorkdays source catalogue.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Source flags are preserved; no new substitute-day rule is inferred.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Source public-holiday events crossed.'}, 'non_working_weekend_days_skipped': {'type': 'integer', 'x-unit': 'days', 'description': 'Regular weekend dates crossed. Unit: days.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_global_working_days
Add Global Working Days
Use this when you need a weekday-based date offset for a territory and explicitly want public holidays excluded from the calculation. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when a public-holiday, employer, bank, exchange, school, religious or emergency-closure calendar is required. What it computes: Adds or subtracts weekday-baseline working days for any supported CLDR alpha-2 territory code using CLDR weekend rules, without inventing public-holiday defaults. Example user requests: Add 5 weekday working days to 2026-10-02 in AU. | Subtract 3 Saudi weekday-baseline working days from 2026-06-15. Inputs: start_date (date); territory (enum); working_days (integer, working days). Complete JSON argument examples: {"start_date":"2026-10-02","territory":"AU","working_days":5} Outputs: start_date, result_date, working_days_added [working days], calendar_days_elapsed [days], territory, territory_display_name, weekend_days, calendar_scope, holiday_policy, calendar_profile, calendar_selection_catalog_url, dataset_version, source_url. Formula: move one Gregorian day at a time and decrement remaining only when globalWorkingDayStatus(date, territory).is_working_day is true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/global-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'territory': 'AU', 'start_date': '2026-10-02', 'working_days': 5}], 'required': ['start_date', 'territory', 'working_days'], 'properties': {'territory': {'enum': ['AC', 'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AN', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BS', 'BT', 'BU', 'BV', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CP', 'CQ', 'CR', 'CS', 'CU', 'CV', 'CW', 'CX', 'CY', 'CZ', 'DD', 'DE', 'DG', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'EA', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'EU', 'EZ', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'FX', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'ID', 'IE', 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NT', 'NU', 'NZ', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'QO', 'QU', 'RE', 'RO', 'RS', 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SU', 'SV', 'SX', 'SY', 'SZ', 'TA', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TP', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', 'UN', 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WF', 'WS', 'XK', 'YD', 'YE', 'YT', 'YU', 'ZA', 'ZM', 'ZR', 'ZW'], 'type': 'string', 'pattern': '^[A-Z]{2}$', 'examples': ['AU'], 'maxLength': 2, 'description': 'CLDR territory code in alpha-2 form. The complete accepted-code enum is exposed here; it includes ISO-style territory codes plus CLDR regional and legacy codes where present.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-02'], 'description': 'Gregorian start date from 1900-01-01 through 2100-12-31.'}, 'working_days': {'type': 'integer', 'x-unit': 'working days', 'maximum': 10000, 'minimum': -10000, 'examples': [5], 'description': 'Signed weekday-baseline offset; non-zero offsets exclude the start date. Unit: working days.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'territory': {'type': 'string', 'description': 'Normalized uppercase CLDR territory code.'}, 'source_url': {'type': 'string', 'description': 'Pinned CLDR JSON source.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached after the weekday-baseline offset.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Territory weekend convention from CLDR.'}, 'calendar_scope': {'type': 'string', 'description': 'weekday_pattern_only; public holidays are intentionally not included.'}, 'holiday_policy': {'type': 'string', 'description': 'public_holidays_not_included for this global baseline.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned CLDR weekend-data version.'}, 'calendar_profile': {'type': 'string', 'description': 'Machine-readable profile id: global-weekday-baseline.'}, 'working_days_added': {'type': 'integer', 'x-unit': 'working days', 'description': 'Signed offset. Unit: working days.'}, 'calendar_days_elapsed': {'type': 'integer', 'x-unit': 'days', 'description': 'Signed Gregorian difference. Unit: days.'}, 'territory_display_name': {'type': 'string', 'description': 'Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW.'}, 'calendar_selection_catalog_url': {'type': 'string', 'description': 'Use this catalog before selecting a jurisdiction-specific holiday package.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_gr_working_days
Add Greece Working Days
Use this when you need a deterministic Greece working-day offset. 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 the nationwide compulsory public-holiday layer over a Saturday-Sunday baseline. 28 October is included as published in the 2026 Ministry schedule; Gov.gr notes that optional-holiday and employer discretion can apply under the underlying legal framework. Clean Monday, Good Friday and Holy Spirit Monday are not generalized as compulsory closures. Regional, municipal, school, bank, exchange, employer, collective-agreement and sector schedules are not inferred. What it computes: Adds or subtracts Greece authority-scope working days in exact coverage. Example user requests: Add or subtract Greece working days around Greece Easter Monday. | Add or subtract Greece working days around Greece ordinary weekday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/greece-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/greece-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'GR (Greece).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Greece nationwide compulsory public holidays under the employment-law layer for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Article_60_Law_4808_2021_compulsory_public_holidays'}, 'territory_name': {'type': 'string', 'description': 'Greece'}, 'dataset_version': {'type': 'string', 'description': 'gr-labour-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'greece-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No national substitute-day closure is inferred; optional, local, employer, sector and later Gazette decisions require separate evidence'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_hk_working_days
Add 中国香港特别行政区 Working Days
Use this when you need a deterministic 中国香港特别行政区 working-day offset. 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 is the Hong Kong general/public-holiday calendar. Statutory employee holidays, employer rest days, school calendars, bank/exchange closures and private-sector arrangements are not inferred. What it computes: Adds or subtracts 中国香港特别行政区 authority-scope working days in exact coverage. Example user requests: Add or subtract 中国香港特别行政区 working days around 2027 Lunar New Year substitute. | Add or subtract 中国香港特别行政区 working days around 2026 Ching Ming substitution. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/hong-kong-general-holidays-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/hong-kong-general-holidays-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'HK (中国香港特别行政区).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Hong Kong general holidays under the General Holidays Ordinance; government/general public calendar only'}, 'holiday_policy': {'type': 'string', 'description': 'Hong_Kong_General_Holidays_Ordinance_events_over_Sunday_baseline'}, 'territory_name': {'type': 'string', 'description': '中国香港特别行政区'}, 'dataset_version': {'type': 'string', 'description': 'hk-general-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'hong-kong-general-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_substitute_and_first_weekday_after_dates_only; employee_rest_day_compensation_not_inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_hr_working_days
Add Croatia Working Days
Use this when you need a deterministic Croatia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when croatia 2026 article 1 general holidays over an explicitly selected Monday-Friday planning baseline. Article 2 memorial days do not add rest. Article 3 religious rights depend on the person and, for specified festivals, the chosen day; they are not included in a universal union. Individual shifts, replacement weekly rest, employer/local/sector/school/bank schedules, payroll, legal deadlines and future years are not computed. What it computes: Adds or subtracts Croatia authority-scope working days in exact coverage. Requires explicit mon_fri_planning; memorials and person-specific religious rights are not general rest. Example user requests: Add or subtract Croatia working days around Good Friday is not a general statutory holiday. | Add or subtract Croatia working days around Corpus Christi. | Add or subtract Croatia working days around Independence memorial is not a rest holiday. Inputs: start_date (date); working_days (integer); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0,"work_schedule":"mon_fri_planning"} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_commemorative_day, religious_rest_scope, payroll_scope. Formula: planning_workday = weekday AND no article_1_statutory_holiday Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/croatia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/croatia-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'working_days', 'work_schedule'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline; not an individual statutory roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday, weekend_baseline or regular_workday; memorials alone do not add rest.'}, 'territory': {'type': 'string', 'description': 'HR (Croatia).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Croatia 2026 article 1 general holiday facts with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'NN_110_2019_article_1_general_rest_article_2_memorial_NN_72_2025'}, 'territory_name': {'type': 'string', 'description': 'Croatia'}, 'dataset_version': {'type': 'string', 'description': 'hr-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'croatia-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'is_commemorative_day': {'type': 'boolean', 'description': 'Whether result.date has an article 2 memorial; this does not add rest.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is an article 1 general statutory holiday.'}, 'religious_rest_scope': {'type': 'string', 'description': 'article_3_person_specific_not_computed: no union or inferred personal religious identity.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Article_4_no_next_day_transfer; no_unpublished_substitute_inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_hu_working_days
Add Hungary Working Days
Use this when you need a deterministic Hungary working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when hungary 2026 general Monday-Friday work schedule only (Labour Code section 97(2), NGM 10/2025). Requires explicit work_schedule. Eleven statutory holidays and three paired transfers are included; three Saturdays are working. No shift, personal, bank, exchange, school, local-office opening or payroll schedule is inferred. No automatic substitute Monday. The annual decree expires 2027-01-01; later schedules require new evidence. What it computes: Adds or subtracts Hungary authority-scope working days in exact coverage. Requires an explicit general Monday-Friday work schedule; includes three working Saturdays and paired rest dates. Example user requests: Add or subtract Hungary working days around Working Saturday compensates August 21. | Add or subtract Hungary working days around Christmas Eve is transferred rest, not statutory holiday. | Add or subtract Hungary working days around Whit Monday. Inputs: start_date (date); working_days (integer); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0,"work_schedule":"general_monday_friday"} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_transferred_rest_day, is_makeup_working_day, transfer_pair, payroll_scope. Formula: working = published makeup day OR (weekday AND not statutory holiday AND not transferred rest) Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/hungary-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/hungary-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'general_monday_friday'}], 'required': ['start_date', 'working_days', 'work_schedule'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}, 'work_schedule': {'enum': ['general_monday_friday'], 'type': 'string', 'examples': ['general_monday_friday'], 'description': 'Required: confirm the general Monday-Friday work schedule under Labour Code 97(2). Do not use for shifts or institution-specific opening.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'HU (Hungary).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'transfer_pair': {'type': 'object', 'description': 'Paired working/rest dates and legal basis for result.date, otherwise empty object.'}, 'work_schedule': {'type': 'string', 'description': 'Explicitly selected general_monday_friday schedule.'}, 'calendar_scope': {'type': 'string', 'description': 'Hungary 2026 general Monday-Friday work schedule'}, 'holiday_policy': {'type': 'string', 'description': 'Act_I_2012_102_1_and_NGM_10_2025'}, 'territory_name': {'type': 'string', 'description': 'Hungary'}, 'dataset_version': {'type': 'string', 'description': 'hu-general-work-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'hungary-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is a Labour Code 102(1) holiday.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'is_makeup_working_day': {'type': 'boolean', 'description': 'Whether result.date is a published working Saturday.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only three published 2026 transfer pairs; no substitute Monday inferred'}, 'is_transferred_rest_day': {'type': 'boolean', 'description': 'Whether result.date is one of the three NGM rest dates.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_id_working_days
Add Indonesia Working Days
Use this when you need a deterministic Indonesia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when cuti bersama is facultative for private employers and may be governed by each employer; ASN-specific implementation and local, sector, religious-optional and employer schedules are not inferred. What it computes: Adds or subtracts Indonesia authority-scope working days in exact coverage. Example user requests: Add or subtract Indonesia working days around National holiday. | Add or subtract Indonesia working days around Joint leave is separately labelled. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/indonesia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/indonesia-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'ID (Indonesia).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Indonesia national holidays and joint-leave schedule published by the three-minister SKB'}, 'holiday_policy': {'type': 'string', 'description': 'National holidays and cuti bersama are preserved as separate event kinds; the result is an official government/employee schedule, not a universal private-employer closure calendar.'}, 'territory_name': {'type': 'string', 'description': 'Indonesia'}, 'dataset_version': {'type': 'string', 'description': 'id-skb-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'indonesia-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No additional substitute-day, local-government, employer or sector rule is inferred beyond the published SKB dates.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_india_central_working_days
Add India Central Government Working Days
Use this when you need a deterministic central-government date offset with a required office scope. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need an exact state/UT, bank, employer, school, exchange or locally selected optional-holiday calendar. What it computes: Adds or subtracts dates using the pinned 2026 central-government Gazetted schedule and weekend baseline; Restricted and local optional selections are not inferred. Example user requests: Add five Delhi central-government working days after 2026-10-16. Inputs: start_date (date); office_scope (enum); working_days (integer). Complete JSON argument examples: {"start_date":"2026-10-16","office_scope":"delhi_new_delhi","working_days":1} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, gazetted_holidays_skipped, restricted_holidays_available_at_result, territory, territory_name, office_scope, office_scope_name, is_guaranteed_non_working_day, day_type, restricted_holiday_available, calendar_scope, rest_day_policy, restricted_holiday_policy, selection_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement remaining only when selected status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/india-central-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/india-central-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-10-16', 'office_scope': 'delhi_new_delhi', 'working_days': 1}], 'required': ['start_date', 'office_scope', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-16'], 'description': 'Gregorian start date in 2026.'}, 'office_scope': {'enum': ['delhi_new_delhi', 'outside_delhi'], 'type': 'string', 'examples': ['delhi_new_delhi'], 'description': 'Required scope: delhi_new_delhi or outside_delhi. State/UT holiday calendars are not represented by this package.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [5], 'description': 'Signed offset; start date is excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Government of India sources.'}, 'day_type': {'type': 'string', 'description': 'Weekly rest day, gazetted holiday, restricted option or regular weekday.'}, 'territory': {'type': 'string', 'description': 'IN.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'office_scope': {'type': 'string', 'description': 'Selected central-government office scope.'}, 'calendar_scope': {'type': 'string', 'description': 'Exact data scope.'}, 'territory_name': {'type': 'string', 'description': 'India.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned DoPT package version.'}, 'rest_day_policy': {'type': 'string', 'description': 'Weekly-rest and exclusion policy.'}, 'calendar_profile': {'type': 'string', 'description': 'in-dopt-central-government-holidays.'}, 'selection_policy': {'type': 'string', 'description': 'Whether local optional selection is required.'}, 'office_scope_name': {'type': 'string', 'description': 'Human-readable scope.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No automatic substitute-day inference.'}, 'gazetted_holidays_skipped': {'type': 'array', 'description': 'Gazetted events crossed.'}, 'restricted_holiday_policy': {'type': 'string', 'description': 'Restricted and locally selected optional-holiday rule.'}, 'restricted_holiday_available': {'type': 'boolean', 'description': 'Whether a restricted-holiday option is listed on the date.'}, 'is_guaranteed_non_working_day': {'type': 'boolean', 'description': 'True for the weekly baseline or an applicable gazetted holiday.'}, 'restricted_holidays_available_at_result': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Restricted options on the result date.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_ireland_working_days
Add Ireland Working Days
Use this when you need a deterministic Ireland national public-holiday offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need an employer-selected benefit day or non-national schedule. What it computes: Adds or subtracts Ireland national working days in exact 2026-2027 coverage. Example user requests: Add one Ireland working day after 2027-01-29. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2027-01-29","working_days":1} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, holiday_names, calendar_scope, good_friday_policy, weekend_holiday_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on Ireland status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/ireland-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/ireland-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2027-01-29', 'working_days': 1}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-01-29'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Irish government regulator and legislation sources.'}, 'territory': {'type': 'string', 'description': 'IE (Ireland).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'National statutory public holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'National statutory public holidays over a Monday-Friday baseline.'}, 'territory_name': {'type': 'string', 'description': 'Ireland.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Ireland WRC package.'}, 'calendar_profile': {'type': 'string', 'description': 'ireland-public-holidays.'}, 'good_friday_policy': {'type': 'string', 'description': 'Good Friday is not a public holiday.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'weekend_holiday_policy': {'type': 'string', 'description': 'No automatic next-working-day closure is inferred.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact national holidays crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_it_working_days
Add Italy Working Days
Use this when you need a deterministic Italy working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when regional, municipal, local patron-saint, school, bank, sector, collective-agreement and employer-specific schedules are not inferred. What it computes: Adds or subtracts Italy authority-scope working days in exact coverage. Example user requests: Add or subtract Italy working days around Republic Day. | Add or subtract Italy working days around Easter Monday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/italy-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/italy-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'IT (Italy).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Italy nationwide statutory/public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'National statutory holidays are preserved; Sundays are handled by the Monday-Friday baseline and local patron days are not inserted.'}, 'territory_name': {'type': 'string', 'description': 'Italy'}, 'dataset_version': {'type': 'string', 'description': 'it-national-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'italy-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a national holiday falls on a weekend.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_japan_national_working_days
Add Japan National Working Days
Use this when you need a deterministic Japan statutory national-holiday date offset in 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need company, school, bank, exchange or prefectural closure semantics. What it computes: Adds or subtracts dates using the pinned Japan statutory national-holiday schedule and weekend baseline. Example user requests: Add five Japan national working days after 2027-03-19. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2027-03-19","working_days":1} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, national_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_legal_bases, weekend_days, calendar_scope, rest_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement remaining only when Japan national status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/japan-national-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/japan-national-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2027-03-19', 'working_days': 1}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-03-19'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [5], 'description': 'Signed offset; start date is excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Cabinet Office and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or statutory national holiday.'}, 'territory': {'type': 'string', 'description': 'JP.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR Saturday/Sunday baseline.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'National holiday or statutory holiday under the Cabinet Office table.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Japanese statutory holiday names applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Japan statutory national holidays only.'}, 'territory_name': {'type': 'string', 'description': 'Japan.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Cabinet Office evidence package.'}, 'rest_day_policy': {'type': 'string', 'description': 'Company, school, bank and exchange closures are not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'jp-cabinet-office-national-holidays.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'holiday_legal_bases': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Holiday Act or Cabinet Office legal classification.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'national_holidays_skipped': {'type': 'array', 'description': 'Statutory holidays crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_ke_working_days
Add Kenya Working Days
Use this when you need a deterministic Kenya working-day offset. 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 the nationwide public-holiday layer only. It is not a universal private-employer, bank, school, county, sector, diplomatic or shift-work calendar. The Saturday-Sunday baseline is a calculation convention for ordinary weekday work, not a claim that every employer uses the same roster. Idd-ul-Fitr and Idd-ul-Adha are pinned to the 2026 Gazette declarations; future lunar dates and later special notices require a refreshed package. The Act's Sunday substitution rule is preserved and no Saturday-to-Monday substitution is inferred. What it computes: Adds or subtracts Kenya authority-scope working days in exact coverage. Example user requests: Add or subtract Kenya working days around Idd-ul-Fitr public holiday. | Add or subtract Kenya working days around Ordinary Kenya working day. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/kenya-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/kenya-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'KE (Kenya).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Kenya 2026 nationwide public-holiday layer over a Saturday-Sunday working-week baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Kenya_Public_Holidays_Act_and_2026_Gazette_Notices'}, 'territory_name': {'type': 'string', 'description': 'Kenya'}, 'dataset_version': {'type': 'string', 'description': 'ke-national-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'kenya-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Sunday_substitution_only_under_Public_Holidays_Act; no Saturday_lieu_day_without_a_specific_notice'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_kr_working_days
Add South Korea Working Days
Use this when you need a deterministic South Korea working-day offset. 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 package covers the 2026 statutory/public-office schedule only; private-employer, school, bank, exchange, local-government and 2027 schedules are not inferred. What it computes: Adds or subtracts South Korea authority-scope working days in exact coverage. Example user requests: Add or subtract South Korea working days around New Labor Day public holiday. | Add or subtract South Korea working days around Published substitute holiday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/south-korea-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/south-korea-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'KR (South Korea).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'South Korea statutory public holidays and public-office substitute holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'National, substitute and election holiday event kinds are preserved; this is not a universal private-employer or school closure calendar.'}, 'territory_name': {'type': 'string', 'description': 'South Korea'}, 'dataset_version': {'type': 'string', 'description': 'kr-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'south-korea-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only the published 2026 substitute dates are included; employer exchanges, local-government holidays and school schedules are not inferred.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_kz_working_days
Add Kazakhstan Working Days
Use this when you need a deterministic Kazakhstan working-day offset. 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 the nationwide published 2026 five-day schedule over a Saturday-Sunday baseline. Six-day, shift, continuous-operation, employer, bank, school, local and sector calendars are not inferred. Qurban Ait is represented by the published 2026 first-day date. Adilet's current text records Constitution Day on 15 March with an amendment effective 2026-07-01, while the published 2026 government calendar does not add a March 15/16 closure; this package follows the published 2026 calendar and future-year packages must refresh the legal transition. What it computes: Adds or subtracts Kazakhstan authority-scope working days in exact coverage. Example user requests: Add or subtract Kazakhstan working days around Nauryz transfer day. | Add or subtract Kazakhstan working days around Ordinary weekday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/kazakhstan-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/kazakhstan-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'KZ (Kazakhstan).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Kazakhstan nationwide published 2026 five-day public-holiday and transfer schedule'}, 'holiday_policy': {'type': 'string', 'description': 'Kazakhstan_Holidays_Law_267_plus_Government_2026_schedule'}, 'territory_name': {'type': 'string', 'description': 'Kazakhstan'}, 'dataset_version': {'type': 'string', 'description': 'kz-gov-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'kazakhstan-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only published 2026 transfer dates are included; no future, employer or unscheduled transfer is inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_lk_working_days
Add Sri Lanka Working Days
Use this when you need a deterministic Sri Lanka working-day offset. 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 is a combined official holiday-class calendar, not a universal private-employer closure rule. Public, bank and mercantile classifications remain in each event kind; the March 18, March 25 and April 1 fuel-conservation entries apply to government offices only and the schedule was cancelled effective April 8. Essential services, schools, private employers, sector agreements, local arrangements and later unlisted notices are not inferred. The additional day after the National Vesak Festival is not invented beyond the published May 2 calendar entry. What it computes: Adds or subtracts Sri Lanka authority-scope working days in exact coverage. Example user requests: Add or subtract Sri Lanka working days around Poya holiday. | Add or subtract Sri Lanka working days around Temporary government-office Wednesday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/sri-lanka-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/sri-lanka-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'LK (Sri Lanka).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Sri Lanka 2026 public, bank, mercantile and full-moon Poya holiday calendar, plus dated temporary government-office closures'}, 'holiday_policy': {'type': 'string', 'description': 'Sri_Lanka_Holidays_Act_No_29_of_1971_2026_public_bank_mercantile_and_Poya_calendar'}, 'territory_name': {'type': 'string', 'description': 'Sri Lanka'}, 'dataset_version': {'type': 'string', 'description': 'lk-public-bank-mercantile-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'sri-lanka-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_official_dates_only; no next-day or employer-lieu inference; later Gazette or official circular overrides'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_lt_working_days
Add Lithuania Working Days
Use this when you need a deterministic Lithuania working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when lithuania 2026 Labour Code holiday facts with explicit mon_fri_planning or mon_sat_planning. Sixteen full-day statutory holidays; pre-holiday one-hour rules do not create additional rest. No weekend substitution or bridge is inferred. Required work_schedule selects a planning calendar, not a universal personal roster. Actual hours, pay, shifts, local/employer/sector/school/bank schedules, religious personal leave, legal deadlines and future years are not computed. What it computes: Adds or subtracts working dates in the explicitly selected Lithuania 2026 five-day or six-day planning workweek. Sixteen statutory holidays; conditional one-hour eve markers never add full-day rest. Example user requests: Add or subtract Lithuania working days around Restoration of the State is a statutory holiday. | Add or subtract Lithuania working days around August 14 shortening is not full-day rest. | Add or subtract Lithuania working days around Good Friday is not an Article 123 rest day. | Add or subtract Lithuania working days around Easter eve depends on selected workweek. Inputs: start_date (date); working_days (integer); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0,"work_schedule":"mon_fri_planning"} | {"start_date":"2026-01-01","working_days":0,"work_schedule":"mon_sat_planning"} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_preholiday_rule_date, is_shortened_workday, statutory_shortening_hours, shortening_scope, working_hours_scope, personal_roster_scope, payroll_scope. Formula: planning_workday = day in selected workweek AND no statutory_holiday_rest; shortened work dates count once Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/lithuania-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/lithuania-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'mon_fri_planning'}, {'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'mon_sat_planning'}], 'required': ['start_date', 'working_days', 'work_schedule'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}, 'work_schedule': {'enum': ['mon_fri_planning', 'mon_sat_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required mon_fri_planning or mon_sat_planning. Choose the intended baseline explicitly; no universal or personal roster inferred.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday_rest, shortened_workday, weekend_baseline or regular_workday. Rest takes priority on overlapping eve markers.'}, 'territory': {'type': 'string', 'description': 'LT (Lithuania).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit selected five-day or six-day planning workweek.'}, 'calendar_scope': {'type': 'string', 'description': 'Lithuania 2026 statutory holiday facts over explicit mon_fri_planning'}, 'holiday_policy': {'type': 'string', 'description': 'DK_article_123_statutory_rest; article_112_6_conditional_shortening_not_full_rest'}, 'territory_name': {'type': 'string', 'description': 'Lithuania'}, 'dataset_version': {'type': 'string', 'description': 'lt-explicit-workweek-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'lithuania-public-holidays'}, 'shortening_scope': {'type': 'string', 'description': 'Required conditions and exceptions to the one-hour rule.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'working_hours_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'is_shortened_workday': {'type': 'boolean', 'description': 'Rule-eve which is also working in selected baseline; no claim of actual hours worked.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is an Article 123 holiday, independent of weekend.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No_weekend_holiday_transfer_to_another_weekday; no_unpublished_bridge'}, 'is_preholiday_rule_date': {'type': 'boolean', 'description': 'Whether result.date immediately precedes a statutory holiday, even on a rest date. A conditional rule, not personal entitlement.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}, 'statutory_shortening_hours': {'type': 'integer', 'description': 'Conditional rule magnitude: 1 on an eve including a rest/holiday eve, otherwise 0. NOT computed hours or entitlement.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_lu_working_days
Add Luxembourg Working Days
Use this when you need a deterministic Luxembourg working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when luxembourg 2026-2028 statutory holiday dates over an explicitly selected Monday-Friday planning baseline, BEFORE individual annual or compensatory leave. A holiday on a normally non-worked day may produce compensatory leave depending on the employee's schedule, hours and applicable rules; no compensation date or next-Monday closure is assigned here. Bank-only Good Friday/Christmas Eve afternoon, customary or collectively agreed holidays, school/local/employer/shift schedules, hours, payroll, personal entitlements and legal deadlines are not computed. What it computes: Adds or subtracts Luxembourg authority-scope working days in exact coverage. Requires explicit mon_fri_planning; personal compensatory leave and bank-only closures are not computed. Example user requests: Add or subtract Luxembourg working days around Europe Day is statutory rest. | Add or subtract Luxembourg working days around No uniform Monday compensation date. | Add or subtract Luxembourg working days around Bank-only Good Friday is not general statutory rest. Inputs: start_date (date); working_days (integer); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0,"work_schedule":"mon_fri_planning"} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_non_working_day, holiday_on_baseline_weekend, compensatory_leave_scope, compensatory_date_policy, personal_roster_scope, payroll_scope. Formula: planning_workday = weekday AND no statutory_holiday_rest; individual leave is not deducted Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/luxembourg-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/luxembourg-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'working_days', 'work_schedule'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2028.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline BEFORE individual annual/compensatory leave; not a personal roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday_rest, weekend_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'LU (Luxembourg).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Luxembourg 2026-2028 eleven annual statutory holidays with explicit Monday-Friday planning baseline before individualized leave'}, 'holiday_policy': {'type': 'string', 'description': 'Eleven_L232_2_statutory_holidays_per_year; individualized_compensation_not_computed'}, 'territory_name': {'type': 'string', 'description': 'Luxembourg'}, 'dataset_version': {'type': 'string', 'description': 'lu-statutory-calendar-2026-2028.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'luxembourg-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No_uniform_next_Monday_or_compensatory_leave_date_assigned'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}, 'compensatory_date_policy': {'type': 'string', 'description': 'Always no_dates_assigned; not a denial of compensatory leave.'}, 'compensatory_leave_scope': {'type': 'string', 'description': 'Always not_computed; personal schedule and applicable rules required.'}, 'holiday_on_baseline_weekend': {'type': 'boolean', 'description': 'Statutory holiday falls on Saturday/Sunday. Calendar fact only, not an individual compensatory entitlement.'}, 'is_statutory_non_working_day': {'type': 'boolean', 'description': 'Whether result.date is one of eleven annual general statutory holiday dates; not personal attendance.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_lv_working_days
Add Latvia Working Days
Use this when you need a deterministic Latvia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when latvia 2026 only. Explicit calendar_basis and work_schedule=mon_fri_planning are required. The transfer basis applies Cabinet Order 330 only when the organization is covered or has adopted it; no private employer adoption is inferred. Section 2 observances do not add rest. Shortening is conditional, not full-day rest. Six-day/shift/personal rosters, other religious calendars, bank/exchange/school opening, payroll, actual hours and legal deadlines are not computed. What it computes: Adds or subtracts Latvia authority-scope working days in exact coverage. Explicit transfer basis and mon_fri_planning required. Separate statutory rest, non-rest observances, transferred work/rest and conditional shortening. Example user requests: Add or subtract Latvia working days around Mother's Day is statutory even on Sunday. | Add or subtract Latvia working days around January 2 depends on explicit transfer basis. | Add or subtract Latvia working days around June 27 depends on explicit transfer basis. Inputs: start_date (date); working_days (integer); calendar_basis (enum); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0,"calendar_basis":"statutory_holidays_only","work_schedule":"mon_fri_planning"} | {"start_date":"2026-01-01","working_days":0,"calendar_basis":"cabinet_order_330_transfers","work_schedule":"mon_fri_planning"} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_basis, work_schedule, is_statutory_holiday, is_non_rest_observance, is_transferred_rest_day, is_transferred_working_day, is_shortened_workday, statutory_shortening_hours, shortening_scope, payroll_scope, personal_roster_scope, working_hours_scope, additional_religious_holidays_scope. Formula: planning_workday = explicit transferred working date OR (weekday AND no statutory/selected transferred rest); shortened dates count once Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/latvia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/latvia-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'statutory_holidays_only'}, {'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'cabinet_order_330_transfers'}], 'required': ['start_date', 'working_days', 'calendar_basis', 'work_schedule'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday baseline before any selected Order 330 transfers; not a universal or individual roster.'}, 'calendar_basis': {'enum': ['statutory_holidays_only', 'cabinet_order_330_transfers'], 'type': 'string', 'examples': ['statutory_holidays_only'], 'description': 'Required statutory_holidays_only or cabinet_order_330_transfers. Choose the latter only for a covered institution or an employer adopting the order; never infer adoption.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday_rest, transferred_rest_day, special_working_day, shortened_workday, weekend_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'LV (Latvia).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline, before selected transfers.'}, 'calendar_basis': {'type': 'string', 'description': 'Explicit selected transfer basis; no employer adoption inferred.'}, 'calendar_scope': {'type': 'string', 'description': 'Latvia 2026 statutory calendar, explicit statutory_holidays_only and Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Holiday_Law_section_1_rest_section_2_non_rest; explicit_Cabinet_Order_330_basis'}, 'territory_name': {'type': 'string', 'description': 'Latvia'}, 'dataset_version': {'type': 'string', 'description': 'lv-statutory-transfer-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'latvia-public-holidays'}, 'shortening_scope': {'type': 'string', 'description': 'Conditions on the one-hour rule.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'working_hours_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'is_shortened_workday': {'type': 'boolean', 'description': 'Whether result.date carries a conditional normal-working-time shortening rule, not full-day rest.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is a Holiday Law section 1 holiday, excluding transfer-only rest.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only May 4, November 18 and qualifying General Song/Dance Festival closing day have statutory weekend substitution; none triggered in 2026. No blanket substitute Monday.'}, 'is_non_rest_observance': {'type': 'boolean', 'description': 'Whether result.date has a section 2 observance, which itself does not cause rest.'}, 'is_transferred_rest_day': {'type': 'boolean', 'description': 'Rest date under the explicitly selected Order 330 basis.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}, 'is_transferred_working_day': {'type': 'boolean', 'description': 'Working Saturday under the explicitly selected Order 330 basis.'}, 'statutory_shortening_hours': {'type': 'integer', 'description': 'Rule magnitude: one on a shortening date, zero otherwise. Not actual employee hours or entitlement.'}, 'additional_religious_holidays_scope': {'type': 'string', 'description': 'Always not_computed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_mt_working_days
Add Malta Working Days
Use this when you need a deterministic Malta working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when malta 2026 named statutory holidays and Sunday public-holiday status over an explicitly selected Monday-Friday planning baseline BEFORE individual annual or compensatory leave. Additional vacation entitlement for a named holiday on a weekly rest day depends on the person's employment and roster; no next-Monday or later leave date is assigned. Bank-only, school, local, employer and shift calendars, hours, payroll, personal entitlements and legal deadlines are not computed. Future years require a separately verified package. What it computes: Adds or subtracts Malta authority-scope working days in exact coverage. Required mon_fri_planning; named holidays and Sunday statutory status remain distinct. Personal leave and bank-only dates are not computed. Example user requests: Add or subtract Malta working days around Good Friday is scheduled public rest. | Add or subtract Malta working days around Ordinary Sunday is public holiday, not a named holiday. | Add or subtract Malta working days around No invented Monday compensation. Inputs: start_date (date); working_days (integer); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0,"work_schedule":"mon_fri_planning"} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_public_holiday, is_named_statutory_holiday, is_national_holiday, is_other_scheduled_public_holiday, is_sunday_public_holiday, holiday_on_baseline_weekend, sunday_legal_basis, compensatory_leave_scope, personal_roster_scope, payroll_scope, compensatory_date_policy. Formula: planning_workday = Monday_to_Friday AND no named statutory holiday; individual leave is not deducted Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/malta-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/malta-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'working_days', 'work_schedule'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline BEFORE individual annual/compensatory leave; not personal attendance.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'national_holiday, scheduled_public_holiday, sunday_public_holiday, saturday_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'MT (Malta).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications. Named events only; Sunday status is separately labelled.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date. Named events only; Sunday status is separately labelled.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Malta 2026 fourteen named statutory holidays and Sunday public holidays with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Cap252_five_national_nine_scheduled_plus_Sundays; individualized_leave_not_computed'}, 'territory_name': {'type': 'string', 'description': 'Malta'}, 'dataset_version': {'type': 'string', 'description': 'mt-statutory-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published. Named events only; Sunday status is separately labelled.'}, 'calendar_profile': {'type': 'string', 'description': 'malta-public-holidays'}, 'is_public_holiday': {'type': 'boolean', 'description': 'Named statutory holiday OR Sunday under Cap.252. Not actual individual attendance.'}, 'sunday_legal_basis': {'type': 'string', 'description': 'Cap.252 article 5(1) on Sunday; empty otherwise.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'is_national_holiday': {'type': 'boolean', 'description': 'One of five national holidays under Cap.252 articles 2-3.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No_uniform_next_Monday_or_compensatory_leave_date_assigned'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed. Named events only; Sunday status is separately labelled.'}, 'compensatory_date_policy': {'type': 'string', 'description': 'Always no_dates_assigned; not a denial of leave.'}, 'compensatory_leave_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'is_sunday_public_holiday': {'type': 'boolean', 'description': 'Sunday public-holiday status under Cap.252 article 5(1), independently of a named event.'}, 'is_named_statutory_holiday': {'type': 'boolean', 'description': 'One of the fourteen government-listed dates; ordinary Sundays are not named events.'}, 'holiday_on_baseline_weekend': {'type': 'boolean', 'description': 'Named holiday on Saturday/Sunday: calendar fact, NOT personal leave granted.'}, 'is_other_scheduled_public_holiday': {'type': 'boolean', 'description': 'One of nine other dates listed in the Cap.252 Schedule.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_mx_working_days
Add Mexico Working Days
Use this when you need a deterministic Mexico working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when article 69 weekly rest is at least one day after six days and the employer/worker schedule is not inferred; sector, state, employer, school and bank calendars are outside scope. What it computes: Adds or subtracts Mexico authority-scope working days in exact coverage. Example user requests: Add or subtract Mexico working days around Constitution Day observed. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/mexico-labor-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/mexico-labor-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'MX (Mexico).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Mexico Federal Labour Law mandatory rest days'}, 'holiday_policy': {'type': 'string', 'description': 'Article 74 mandatory rest days; first/third Mondays are represented by their statutory observed dates'}, 'territory_name': {'type': 'string', 'description': 'Mexico'}, 'dataset_version': {'type': 'string', 'description': 'mx-lft-mandatory-rest-days-2026-09-29.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'mexico-labor-rest-days'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Election-day and six-year executive-transition dates are not inserted without the applicable electoral/constitutional schedule'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_my_working_days
Add Malaysia Division Working Days
Use this when you need a deterministic division-specific offset in 2027. 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 replacement-day/employer rules matter. What it computes: Adds or subtracts dates using the selected Malaysian division's 2027 official public-holiday schedule and weekly baseline. Example user requests: Add five Kuala Lumpur working days after 2027-02-05. Inputs: start_date (date); division (enum); working_days (integer). Complete JSON argument examples: {"start_date":"2027-02-05","division":"KUL","working_days":1} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, 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: move one day at a time; decrement remaining only when selected status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/malaysia-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/malaysia-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'division': 'KUL', 'start_date': '2027-02-05', 'working_days': 1}], 'required': ['start_date', 'division', 'working_days'], 'properties': {'division': {'enum': ['KUL', 'LBN', 'PJY', 'JHR', 'KDH', 'KTN', 'MLK', 'NSN', 'PHG', 'PRK', 'PLS', 'PNG', 'SBH', 'SWK', 'SGR', 'TRG'], 'type': 'string', 'examples': ['KUL'], 'description': 'Required federal-territory/state code: KUL, LBN, PJY, JHR, KDH, KTN, MLK, NSN, PHG, PRK, PLS, PNG, SBH, SWK, SGR or TRG.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-05'], 'description': 'Gregorian start date in 2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [5], 'description': 'Signed offset; start date is excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official government and legislative sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, official weekend or public holiday.'}, 'division': {'type': 'string', 'description': 'Normalized division code.'}, 'territory': {'type': 'string', 'description': 'MY.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Division weekly-rest baseline.'}, 'division_name': {'type': 'string', 'description': 'Federal territory or state.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Official events applying to the date.'}, 'calendar_scope': {'type': 'string', 'description': "Selected division's federal/state public holidays and weekly baseline."}, 'is_working_day': {'type': 'boolean', 'description': "False for the division's declared weekly baseline or applicable official holiday."}, 'territory_name': {'type': 'string', 'description': 'Malaysia.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned BKPP/JPM 2027 package.'}, 'rest_day_policy': {'type': 'string', 'description': 'Employer roster and replacement-day policy are not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'malaysia-bkpp-public-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'Always false here because no substitute date is inferred.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Replacement dates are not inferred.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Official events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_new_zealand_working_days
Add New Zealand Working Days
Use this when you need a deterministic New Zealand national statutory offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a regional anniversary or employer-specific calendar. What it computes: Adds or subtracts New Zealand national working days in exact 2026-2027 coverage. Example user requests: Add one New Zealand working day after 2027-02-05. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2027-02-05","working_days":1} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, holiday_names, calendar_scope, regional_anniversary_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on New Zealand status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/new-zealand-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/new-zealand-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2027-02-05', 'working_days': 1}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-05'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official New Zealand Government and Employment New Zealand sources.'}, 'territory': {'type': 'string', 'description': 'NZ.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'National holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'National statutory public holidays only.'}, 'territory_name': {'type': 'string', 'description': 'New Zealand.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned New Zealand government package.'}, 'calendar_profile': {'type': 'string', 'description': 'new-zealand-employment-public-holidays.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact national holidays crossed.'}, 'regional_anniversary_day_policy': {'type': 'string', 'description': 'Regional anniversary days are not inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_ng_working_days
Add Nigeria Working Days
Use this when you need a deterministic Nigeria working-day offset. 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 is the nationwide federal public-holiday layer, not a universal private-employer, state, local-government, school, banking, market, diplomatic-mission or sector calendar. Ministry of Interior announcements take precedence over conflicting secondary or diplomatic snapshots for federal dates. Eid dates are lunar and can be amended by later official notice. The Public Holidays Act permits special or substituted dates and explicitly does not create an automatic extra day for a holiday falling on Saturday or Sunday; no replacement day is invented here. What it computes: Adds or subtracts Nigeria authority-scope working days in exact coverage. Example user requests: Add or subtract Nigeria working days around Federal Democracy Day. | Add or subtract Nigeria working days around Ordinary federal working day. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/nigeria-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/nigeria-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'NG (Nigeria).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Nigeria 2026 nationwide federal public-holiday calendar over a Saturday-Sunday weekend'}, 'holiday_policy': {'type': 'string', 'description': 'Nigeria_Public_Holidays_Act_and_2026_Federal_Government_Announcements'}, 'territory_name': {'type': 'string', 'description': 'Nigeria'}, 'dataset_version': {'type': 'string', 'description': 'ng-federal-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'nigeria-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_official_dates_only; no automatic weekend_lieu_day; later federal public notice overrides'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_nl_working_days
Add Netherlands Working Days
Use this when you need a deterministic Netherlands working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when a public holiday is not automatically a paid day off for every Dutch employee. CAO, employment contract, sector, employer, school, bank and municipal schedules are not inferred; Liberation Day arrangements may be five-year/CAO dependent. What it computes: Adds or subtracts Netherlands authority-scope working days in exact coverage. Example user requests: Add or subtract Netherlands working days around King's Day. | Add or subtract Netherlands working days around Ordinary weekday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/netherlands-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/netherlands-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'NL (Netherlands).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Netherlands official public holidays for 2026-2027; employee day-off status remains CAO/contract dependent'}, 'holiday_policy': {'type': 'string', 'description': 'Official public-holiday dates are included; no universal employer closure is inferred because Dutch law leaves the day-off entitlement to the CAO or employment contract.'}, 'territory_name': {'type': 'string', 'description': 'Netherlands'}, 'dataset_version': {'type': 'string', 'description': 'nl-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'netherlands-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No substitute-day closure is inferred; sector, CAO, employer and alternative-religious-holiday arrangements require separate evidence.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_no_working_days
Add Norway Working Days
Use this when you need a deterministic Norway working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when nationwide statutory full-day list only. Christmas Eve, Easter Eve, Whit Eve, New Year's Eve, collective-agreement, employer, sector, school, bank and local closures are not inferred. Norwegian annual-leave law treats Saturdays separately from Sundays and public holidays; this package uses the declared Monday-Friday business baseline. What it computes: Adds or subtracts Norway authority-scope working days in exact coverage. Example user requests: Add or subtract Norway working days around Constitution Day. | Add or subtract Norway working days around Christmas Eve is not a full-day statutory holiday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/norway-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/norway-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'NO (Norway).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Norway nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Norwegian statutory public holidays are included, including 1 May and 17 May under the separate Act; statutory Sundays are represented by the weekend baseline.'}, 'territory_name': {'type': 'string', 'description': 'Norway'}, 'dataset_version': {'type': 'string', 'description': 'no-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'norway-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a statutory holiday falls on a weekend.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_pe_working_days
Add Peru Working Days
Use this when you need a deterministic Peru working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when choose calendar_scope and workweek explicitly. National holidays and public-sector compensable days have different applicability. This is a declared five-day (Saturday-Sunday rest) or six-day (Sunday rest) planning calendar, not proof of an individual's roster. Essential services, private-employer adoption, compensating shifts, regional holidays, banking, school, tax and procedural deadline calendars require separate evidence. The two compensable public-sector days remain working days for tax purposes. Later decrees require a new snapshot; dates beyond 2026 are unsupported. What it computes: Adds or subtracts Peru authority-scope working days in exact coverage. Required calendar_scope and workweek distinguish national holidays from compensable public-sector days and five/six-day rosters. Example user requests: Peru: National layer skips independence holidays. | Peru: Public-sector bridge changes deadline. Inputs: start_date (date); working_days (integer); calendar_scope (enum); workweek (integer). Complete JSON argument examples: {"start_date":"2026-07-24","working_days":1,"calendar_scope":"national_statutory","workweek":5} | {"start_date":"2026-07-24","working_days":1,"calendar_scope":"public_sector","workweek":5} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_selection, workweek, compensable_day_details. Formula: working day = outside selected weekly rest and selected holiday layer Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/peru-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/peru-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'workweek': 5, 'start_date': '2026-07-24', 'working_days': 1, 'calendar_scope': 'national_statutory'}, {'workweek': 5, 'start_date': '2026-07-24', 'working_days': 1, 'calendar_scope': 'public_sector'}], 'required': ['start_date', 'working_days', 'calendar_scope', 'workweek'], 'properties': {'workweek': {'type': 'integer', 'maximum': 6, 'minimum': 5, 'examples': [5], 'description': 'Required declared baseline: 5 = Saturday-Sunday rest, 6 = Sunday rest. Confirm the applicable roster.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}, 'calendar_scope': {'enum': ['national_statutory', 'public_sector'], 'type': 'string', 'examples': ['national_statutory'], 'description': 'Required: national_statutory uses 16 national holidays; public_sector also applies the two published compensable days. Neither is a tax or individual employee roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'workweek': {'type': 'integer', 'description': 'User-selected 5 or 6 days per week.'}, 'territory': {'type': 'string', 'description': 'PE (Peru).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Peru 2026 national_statutory'}, 'holiday_policy': {'type': 'string', 'description': 'Peru_2026_national_holidays_with_explicit_public_sector_layer'}, 'territory_name': {'type': 'string', 'description': 'Peru'}, 'dataset_version': {'type': 'string', 'description': 'pe-official-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'peru-public-holidays'}, 'calendar_selection': {'type': 'string', 'description': 'Explicit national_statutory or public_sector layer.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published dates only; no automatic Monday substitution or employer compensation roster is inferred'}, 'compensable_day_details': {'type': 'array', 'description': 'Public-sector bridge-day facts for the classified date, even when excluded from the selected layer.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_ph_working_days
Add Philippines Working Days
Use this when you need a deterministic Philippines working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when local-government special holidays, employer schedules and 2027 Eid dates pending a separate proclamation are not inferred. What it computes: Adds or subtracts Philippines authority-scope working days in exact coverage. Example user requests: Add or subtract Philippines working days around EDSA remains a special working day. | Add or subtract Philippines working days around Eid'l Adha is a declared holiday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/philippines-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/philippines-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'PH (Philippines).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Philippines nationwide presidential-proclamation calendar'}, 'holiday_policy': {'type': 'string', 'description': 'Regular, special non-working, additional special non-working and special working classifications are preserved; Eid dates are included only after a dated proclamation.'}, 'territory_name': {'type': 'string', 'description': 'Philippines'}, 'dataset_version': {'type': 'string', 'description': 'ph-op-proclamations-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'philippines-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No additional substitute-day or local-celebration rule is inferred beyond the published proclamation dates.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_pk_working_days
Add Pakistan Working Days
Use this when you need a deterministic Pakistan working-day offset. 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 the nationwide federal public-holiday layer only. It is not a universal provincial, territory, private-employer, bank, exchange, school, court, diplomatic-mission or sector calendar. Lunar festival dates are pinned to the later federal notifications available for 2026; conflicting exchange or diplomatic calendars are retained as scoped cross-checks and not generalized. What it computes: Adds or subtracts Pakistan authority-scope working days in exact coverage. Example user requests: Add or subtract Pakistan working days around Pakistan Day. | Add or subtract Pakistan working days around Ordinary federal working day. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/pakistan-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/pakistan-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'PK (Pakistan).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Pakistan 2026 nationwide federal public-holiday layer over a Saturday-Sunday federal-office baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Pakistan_Cabinet_Division_2026_Federal_Public_Holidays_and_Later_Festival_Notifications'}, 'territory_name': {'type': 'string', 'description': 'Pakistan'}, 'dataset_version': {'type': 'string', 'description': 'pk-federal-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'pakistan-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_federal_dates_only; no automatic weekend_lieu_day; lunar dates and later Cabinet notifications override the annual estimate'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_pl_working_days
Add Poland Working Days
Use this when you need a deterministic Poland working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when nationwide statutory holiday list only. Saturday substitute dates, individual work schedules, employer, sector, school, bank and local schedules are not inferred. What it computes: Adds or subtracts Poland authority-scope working days in exact coverage. Example user requests: Add or subtract Poland working days around Christmas Eve. | Add or subtract Poland working days around Ordinary weekday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/poland-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/poland-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'PL (Poland).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Poland nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': "Poland's statutory named holidays and Sundays are included; regional, employer, school, bank and sector schedules are not inferred."}, 'territory_name': {'type': 'string', 'description': 'Poland'}, 'dataset_version': {'type': 'string', 'description': 'pl-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'poland-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'When a statutory holiday falls on Saturday for a five-day-week employee, an additional day off may be due within the settlement period; the employer and work schedule determine the date, so no substitute date is inferred.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_pt_working_days
Add Portugal Working Days
Use this when you need a deterministic Portugal working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when mandatory nationwide list only. Municipal, autonomous-region, collective-agreement, employer and locally substituted holiday schedules are not inferred. What it computes: Adds or subtracts Portugal authority-scope working days in exact coverage. Example user requests: Add or subtract Portugal working days around Portugal Day. | Add or subtract Portugal working days around Ordinary weekday. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/portugal-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/portugal-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'PT (Portugal).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Portugal nationwide mandatory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Portugal Labour Code mandatory national holidays are included; Carnival Tuesday and municipal holidays are optional and are not inferred.'}, 'territory_name': {'type': 'string', 'description': 'Portugal'}, 'dataset_version': {'type': 'string', 'description': 'pt-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'portugal-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No substitute-day closure is inferred. Good Friday may be observed on another locally significant Easter-period day under the Labour Code, but no local replacement is selected.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_ro_working_days
Add Romania Working Days
Use this when you need a deterministic Romania working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when romania 2026 statutory holiday layer only, with required calendar_basis and work_schedule=mon_fri_planning. The basis selects dates, not a person's identity or religion. No union of Christian calendars, non-Christian additional holidays, public-sector bridge/recovery days, individual rosters, shift exceptions, bank/exchange/school opening, payroll or legal deadlines are computed. Other bases and future years are unsupported. What it computes: Adds or subtracts Romania authority-scope working days in exact coverage. Explicit calendar_basis and mon_fri_planning required; no union of calendars or personal roster inference. Example user requests: Add or subtract Romania working days around January 24 remains a statutory holiday even on Saturday. | Add or subtract Romania working days around Selected-calendar Good Friday. Inputs: start_date (date); working_days (integer); calendar_basis (enum); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0,"calendar_basis":"romanian_orthodox","work_schedule":"mon_fri_planning"} | {"start_date":"2026-01-01","working_days":0,"calendar_basis":"roman_catholic","work_schedule":"mon_fri_planning"} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_basis, work_schedule, is_statutory_holiday, payroll_scope, personal_roster_scope, additional_religious_holidays_scope. Formula: planning_workday = weekday AND no statutory holiday in the explicitly selected calendar_basis Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/romania-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/romania-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'romanian_orthodox'}, {'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'roman_catholic'}], 'required': ['start_date', 'working_days', 'calendar_basis', 'work_schedule'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline; not an individual or universal legal roster.'}, 'calendar_basis': {'enum': ['romanian_orthodox', 'roman_catholic'], 'type': 'string', 'examples': ['romanian_orthodox'], 'description': "Required date basis: romanian_orthodox or roman_catholic. Do not infer a person's religion or union calendars."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'statutory_fixed_holiday, statutory_calendar_holiday, weekend_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'RO (Romania).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_basis': {'type': 'string', 'description': 'Explicit selected calendar basis; never inferred or combined.'}, 'calendar_scope': {'type': 'string', 'description': 'Romania 2026 statutory holiday layer, romanian_orthodox, explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Labour_Code_article_139_calendar_specific_not_union'}, 'territory_name': {'type': 'string', 'description': 'Romania'}, 'dataset_version': {'type': 'string', 'description': 'ro-statutory-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'romania-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is a holiday in the selected statutory layer.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No automatic substitute Monday, extra coincident-date day or employer bridge inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}, 'additional_religious_holidays_scope': {'type': 'string', 'description': 'Always not_computed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_ru_working_days
Add Russia Working Days
Use this when you need a deterministic Russia working-day offset. 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 the federal statutory/public-holiday layer and the Government-published 2026 transfer days over a Saturday-Sunday baseline. Regional holidays, republic/local holidays, employer, bank, school, shift, sector and collective-agreement schedules are not inferred. Future annual transfer resolutions require a refreshed package. What it computes: Adds or subtracts Russia authority-scope working days in exact coverage. Example user requests: Add or subtract Russia working days around Russia New Year's holiday. | Add or subtract Russia working days around Published transfer day. | Add or subtract Russia working days around Ordinary Russia working day. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/russia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/russia-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'RU (Russia).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Russia federal statutory public holidays and Government-published 2026 transfer days'}, 'holiday_policy': {'type': 'string', 'description': 'Russian_Labour_Code_Article_112_plus_Government_Resolution_1466_2026_transfers'}, 'territory_name': {'type': 'string', 'description': 'Russia'}, 'dataset_version': {'type': 'string', 'description': 'ru-government-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'russia-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_2026_substitute_and_transfer_dates_only; no regional_or_employer_schedule_inference'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_sa_working_days
Add Saudi Arabia Working Days
Use this when you need a deterministic Saudi Arabia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when financial-institution scope only. MHRSD business-sector leave, RTGS-specific intervals, government offices, private-employer rosters, Hajj-season branch exceptions and Umm al-Qura forecasts are not inferred. What it computes: Adds or subtracts Saudi Arabia authority-scope working days in exact coverage. Example user requests: Add or subtract Saudi Arabia working days around SAMA Eid Al-Fitr interval. | Add or subtract Saudi Arabia working days around Friday/Saturday weekly baseline. | Add or subtract Saudi Arabia working days around National Day Saturday substitution. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/saudi-financial-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/saudi-financial-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2029.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'SA (Saudi Arabia).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Saudi Central Bank financial institutions'}, 'holiday_policy': {'type': 'string', 'description': 'Exact SAMA financial-institution holiday intervals plus the annual National Day and Founding Day rules.'}, 'territory_name': {'type': 'string', 'description': 'Saudi Arabia'}, 'dataset_version': {'type': 'string', 'description': 'sa-sama-financial-holidays-2026-2029.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'saudi-sama-financial-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'SAMA states that National Day or Founding Day on Friday moves to Thursday and on Saturday moves to Sunday; the 2028 National Day substitute is included. Other employer or RTGS substitutions are not inferred.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_se_working_days
Add Sweden Working Days
Use this when you need a deterministic Sweden working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when nationwide statutory list only. Midsummer Eve, Christmas Eve, New Year's Eve, employer, collective-agreement, sector, school, bank and local closures are not inferred; Sunday is already excluded by the weekday baseline. What it computes: Adds or subtracts Sweden authority-scope working days in exact coverage. Example user requests: Add or subtract Sweden working days around National Day. | Add or subtract Sweden working days around Midsummer Eve is not statutory. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/sweden-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/sweden-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'SE (Sweden).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Sweden nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Swedish statutory public holidays under Lag (1989:253), including date-rule holidays; customary equivalent office closures are not inferred.'}, 'territory_name': {'type': 'string', 'description': 'Sweden'}, 'dataset_version': {'type': 'string', 'description': 'se-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'sweden-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a statutory holiday falls on a weekend.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_singapore_working_days
Add Singapore Official Working Days
Use this when you need a deterministic Singapore date offset in 2026-2027 and accept the stated employer-rest-day limitation. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need an employer-specific roster, bank/exchange calendar or a date outside 2026-2027. What it computes: Adds or subtracts dates using Singapore's pinned national public-holiday dates and the CLDR Saturday/Sunday baseline. Example user requests: Add five Singapore working days after 2027-02-05. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2027-02-05","working_days":5} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_observed, weekend_days, rest_day_policy, calendar_scope, calendar_profile, source_quality, dataset_version, sources. Formula: move one day at a time; decrement remaining only when Singapore status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/singapore-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/singapore-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2027-02-05', 'working_days': 5}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-05'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [5], 'description': 'Signed offset; start date is excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official MOM, government open-data and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or MOM public holiday.'}, 'territory': {'type': 'string', 'description': 'SG.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR weekend convention used only as the baseline.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'MOM holiday names applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Singapore national public holidays plus the CLDR Saturday/Sunday baseline.'}, 'source_quality': {'type': 'string', 'description': 'Official Singapore government sources, with employer-rest-day limitation.'}, 'territory_name': {'type': 'string', 'description': 'Singapore.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned MOM evidence package.'}, 'rest_day_policy': {'type': 'string', 'description': 'Employer-specific weekly rest-day placement is not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'singapore-mom-public-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'True when the source explicitly publishes an observed date.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'MOM holidays crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_si_working_days
Add Slovenia Working Days
Use this when you need a deterministic Slovenia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when slovenia 2026 statutory work-free dates over an explicitly selected Monday-Friday planning baseline. Seven named state holidays are not work-free; no extra Monday or bridge day is invented. Individual shifts, replacement weekly rest, employer/local/sector/school/bank schedules, religious leave, payroll, legal deadlines and future years are not computed. What it computes: Adds or subtracts Slovenia authority-scope working days in exact coverage. Requires explicit mon_fri_planning; seven named state holidays do not add rest. Example user requests: Add or subtract Slovenia working days around Easter Monday is statutory rest. | Add or subtract Slovenia working days around Whit Monday is not Whit Sunday. | Add or subtract Slovenia working days around Science Day is a state holiday without rest. Inputs: start_date (date); working_days (integer); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0,"work_schedule":"mon_fri_planning"} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_state_holiday, is_statutory_non_working_day, is_non_rest_state_holiday, personal_roster_scope, payroll_scope. Formula: planning_workday = weekday AND no statutory_work_free_event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/slovenia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/slovenia-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0, 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'working_days', 'work_schedule'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline; not an individual legal roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'state_holiday_rest, other_statutory_rest, weekend_baseline or regular_workday; non-rest state holidays do not add rest.'}, 'territory': {'type': 'string', 'description': 'SI (Slovenia).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Slovenia 2026 statutory work-free facts with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'ZPDPD_articles_1_2_rest_with_seven_non_rest_state_holidays'}, 'territory_name': {'type': 'string', 'description': 'Slovenia'}, 'dataset_version': {'type': 'string', 'description': 'si-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'slovenia-public-holidays'}, 'is_state_holiday': {'type': 'boolean', 'description': 'Whether result.date is an article 1 state holiday, whether or not work-free.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Article_3_no_Sunday_transfer; no_unpublished_substitute_or_bridge_inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}, 'is_non_rest_state_holiday': {'type': 'boolean', 'description': 'Whether result.date is one of the seven state holidays that do not add rest.'}, 'is_statutory_non_working_day': {'type': 'boolean', 'description': 'Whether result.date is a statutory work-free holiday under article 1 or 2, excluding ordinary weekends.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_sk_working_days
Add Slovakia Working Days
Use this when you need a deterministic Slovakia working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when pinned Slovakia 2026 statutory rest-day layer over an explicitly declared Monday-Friday planning baseline, not an individual roster. The holidays on May 8 and September 15 are not statutory rest days in 2026; September 1, October 28 and November 17 are state holidays without rest under section 2(3). Do not infer substitute Mondays, payroll premiums, leave rights, retail closures, shift, bank, school, employer or future-year schedules. Later legal changes require a new snapshot. What it computes: Adds or subtracts Slovakia authority-scope working days in exact coverage. Distinguishes 11 rest-day holidays from five named holidays without statutory rest in 2026. Example user requests: Add or subtract Slovakia working days around May 8 is a named holiday but a working date. | Add or subtract Slovakia working days around Good Friday. | Add or subtract Slovakia working days around November 17 is not statutory rest. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, holiday_rest_status, payroll_scope. Formula: working = weekday outside the declared weekly rest and outside statutory_rest_holiday dates Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/slovakia-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/slovakia-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'weekend_baseline, regular_workday or statutory_rest_holiday; not an individual roster.'}, 'territory': {'type': 'string', 'description': 'SK (Slovakia).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed; calendar semantics do not decide wage premiums or leave.'}, 'calendar_scope': {'type': 'string', 'description': 'Slovakia 2026 national statutory rest-day calendar'}, 'holiday_policy': {'type': 'string', 'description': 'Act_241_1993_sections_1_2_4b_2026'}, 'territory_name': {'type': 'string', 'description': 'Slovakia'}, 'dataset_version': {'type': 'string', 'description': 'sk-statutory-rest-days-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'slovakia-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'holiday_rest_status': {'type': 'string', 'description': 'Rest classification on result.date; a named holiday alone never implies non-working status.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No next-Monday substitution or employer day off is inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_south_africa_working_days
Add South Africa Working Days
Use this when you need a deterministic South Africa national public-holiday offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need an employer-specific exchanged holiday or non-national schedule. What it computes: Adds or subtracts South Africa national working days in exact 2026-2027 coverage. Example user requests: Add one South Africa working day after 2026-11-03. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-11-03","working_days":1} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, holiday_names, calendar_scope, employer_schedule_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on South Africa status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/south-africa-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/south-africa-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-11-03', 'working_days': 1}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-11-03'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official South African Government, legislation and Presidency sources.'}, 'territory': {'type': 'string', 'description': 'ZA (South Africa).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'National public holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'National public holidays over a Monday-Friday baseline.'}, 'territory_name': {'type': 'string', 'description': 'South Africa.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned South African Government package.'}, 'calendar_profile': {'type': 'string', 'description': 'south-africa-public-holidays.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact national holidays crossed.'}, 'employer_schedule_policy': {'type': 'string', 'description': 'Employer-specific exchanges and rest days are not inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_th_working_days
Add Thailand Working Days
Use this when you need a deterministic Thailand working-day offset. 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 is a Bank of Thailand financial-institution calendar, not a universal Thai employee, government, employer, exchange or payment-settlement calendar. Bangkok-only, Islamic-bank and southern-branch conditions remain explicit and are not generalized. What it computes: Adds or subtracts Thailand authority-scope working days in exact coverage. Example user requests: Add or subtract Thailand working days around 2027 substitution. | Add or subtract Thailand working days around Bangkok-only event remains conditional. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/thailand-financial-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/thailand-financial-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'TH (Thailand).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Thailand financial institutions and specialized financial institutions'}, 'holiday_policy': {'type': 'string', 'description': 'BOT_published_financial_institution_and_specialized_financial_institution_holidays'}, 'territory_name': {'type': 'string', 'description': 'Thailand'}, 'dataset_version': {'type': 'string', 'description': 'th-bot-financial-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'thailand-bot-financial-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'BOT_substitution_events_are_pinned; no new substitution is inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_turkey_working_days
Add Türkiye Statutory Working Days
Use this when you need a deterministic Türkiye statutory working-day offset in 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need an employer or sector calendar, or the date falls outside the pinned coverage. What it computes: Adds or subtracts dates using Türkiye's pinned statutory public-holiday package; published half-days are skipped conservatively. Example user requests: Add one Türkiye statutory working day after 2027-03-05. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2027-03-05","working_days":1} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, half_day_start_time, non_working_fraction, weekend_days, calendar_scope, half_day_policy, rest_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only when status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/turkey-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/turkey-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2027-03-05', 'working_days': 1}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-03-05'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date is excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Diyanet and statutory sources.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend, general holiday or half-day general holiday.'}, 'territory': {'type': 'string', 'description': 'TR.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR Saturday/Sunday baseline.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'full_day or half_day.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Turkish statutory holiday events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Türkiye statutory national public holidays only.'}, 'territory_name': {'type': 'string', 'description': 'Türkiye.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Turkish official evidence package.'}, 'half_day_policy': {'type': 'string', 'description': 'Official 13:00 half-day semantics.'}, 'rest_day_policy': {'type': 'string', 'description': 'Private and sector-specific closures are not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'tr-statutory-public-holidays.'}, 'holidays_skipped': {'type': 'array', 'description': 'Full-day and half-day statutory events crossed.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'half_day_start_time': {'type': 'string', 'description': '13:00 when an official half-day applies; empty string otherwise.'}, 'non_working_fraction': {'type': 'number', 'description': '1 for a full-day holiday, 0.5 for a published half-day, and 0 for a regular day.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_tw_working_days
Add 中国台湾省 Working Days
Use this when you need a deterministic 中国台湾省 working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when government administrative-agency scope only. Public enterprises generally follow the calendar, but special agencies, schools, private employers, local arrangements, banks, exchanges and sector schedules are not inferred. What it computes: Adds or subtracts 中国台湾省 authority-scope working days in exact coverage. Example user requests: Add or subtract 中国台湾省 working days around Spring Festival substitute holiday. | Add or subtract 中国台湾省 working days around Government calendar does not mean private-employer closure. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/taiwan-government-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/taiwan-government-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'TW (中国台湾省).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': '中国台湾省政府行政機關工作日曆 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'DGPA government administrative-agency non-working dates and published substitute holidays are applied over a Monday-Friday baseline.'}, 'territory_name': {'type': 'string', 'description': '中国台湾省'}, 'dataset_version': {'type': 'string', 'description': 'tw-dgpa-government-calendar-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'taiwan-government-work-calendar'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only DGPA-published 2026-2027 substitute dates are applied; no private-employer or local-sector inference.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_uae_federal_working_days
Add UAE Federal Government Working Days
Use this when you need a deterministic UAE federal-government offset inside 2026. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a private employer, local-government or future-year calendar. What it computes: Adds or subtracts dates using the exact 2026 UAE federal-government holiday package and Monday-Friday baseline. Example user requests: Add five UAE federal-government working days after 2026-08-27. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-08-27","working_days":1} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, jurisdiction, day_type, weekend_days, holiday_names, holiday_legal_bases, calendar_scope, private_sector_policy, unresolved_lunar_rules, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement remaining only when UAE federal status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/uae-federal-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/uae-federal-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-08-27', 'working_days': 1}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-08-27'], 'description': 'Gregorian start date in 2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date is excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official UAE Government, legislation and FAHR sources.'}, 'day_type': {'type': 'string', 'description': 'Regular workday, official weekend or public holiday.'}, 'territory': {'type': 'string', 'description': 'AE.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'jurisdiction': {'type': 'string', 'description': 'UAE federal government.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Saturday and Sunday for the federal-government baseline.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Exact-date public holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'UAE federal-government workweek and national public holidays.'}, 'territory_name': {'type': 'string', 'description': 'United Arab Emirates.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned FAHR/UAE Government package.'}, 'calendar_profile': {'type': 'string', 'description': 'uae-fahr-federal-holidays.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'holiday_legal_bases': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Government announcement or Cabinet Resolution basis.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'private_sector_policy': {'type': 'string', 'description': 'Employer weekly rest-day limitation.'}, 'unresolved_lunar_rules': {'type': 'array', 'description': 'Rules still awaiting an official Gregorian date, if any.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact published holidays crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_uk_working_days
Add UK Working Days
Use this when you need a deadline a stated number of UK working days before or after a 2024-2028 date and the correct division's bank holidays matter. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need calendar days, a local/employer/market calendar, a non-UK jurisdiction or a result outside 2024-2028. What it computes: Adds or subtracts working days for England and Wales, Scotland or Northern Ireland, skipping weekends and the selected division's official bank holidays. Example user requests: What date is five England and Wales working days after 23 December 2026? | Add two Scottish working days to 12 June 2026, accounting for the official bank holiday. | Subtract ten Northern Ireland business days from 20 July 2027. Inputs: start_date (date); working_days (integer, working days); division (enum, optional). Complete JSON argument examples: {"start_date":"2026-12-23","working_days":5,"division":"england-and-wales"} | {"start_date":"2026-06-12","working_days":2,"division":"scotland"} Outputs: division, division_name, start_date, result_date, result_weekday, result_is_working_day, working_days_added [working days], calendar_days_elapsed [days], non_working_days_skipped [days], bank_holidays_skipped, dataset_version, coverage_start, coverage_end, source_snapshot_sha256. Formula: move one calendar day at a time in sign(working_days); decrement only when the selected UK division reports is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/uk-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/uk-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'division': 'england-and-wales', 'start_date': '2026-12-23', 'working_days': 5}, {'division': 'scotland', 'start_date': '2026-06-12', 'working_days': 2}], 'required': ['start_date', 'working_days'], 'properties': {'division': {'enum': ['england-and-wales', 'scotland', 'northern-ireland'], 'type': 'string', 'default': 'england-and-wales', 'examples': ['england-and-wales'], 'description': 'GOV.UK bank-holiday division. England and Wales share one official list; Scotland and Northern Ireland have separate lists.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-23'], 'description': 'Starting UK civil date in YYYY-MM-DD format, within 2024-2028.'}, 'working_days': {'type': 'integer', 'x-unit': 'working days', 'maximum': 1200, 'minimum': -1200, 'examples': [5], 'description': 'Signed working-day offset. The start date is excluded when non-zero; negative values move backward. Unit: working days.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'division': {'type': 'string', 'description': 'Canonical GOV.UK division id.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input start date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached after adding the working-day offset.'}, 'coverage_end': {'type': 'string', 'format': 'date', 'description': 'Last supported date in this pinned package.'}, 'division_name': {'type': 'string', 'description': 'Human-readable UK division.'}, 'coverage_start': {'type': 'string', 'format': 'date', 'description': 'First supported date in this pinned package.'}, 'result_weekday': {'type': 'string', 'description': 'Weekday of result_date.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Calcgrid snapshot version of the GOV.UK bank-holiday package.'}, 'working_days_added': {'type': 'integer', 'x-unit': 'working days', 'description': 'Signed requested offset. Unit: working days.'}, 'bank_holidays_skipped': {'type': 'array', 'description': 'Official bank-holiday dates crossed, with titles and notes.'}, 'calendar_days_elapsed': {'type': 'integer', 'x-unit': 'days', 'description': 'Signed Gregorian difference result_date minus start_date. Unit: days.'}, 'result_is_working_day': {'type': 'boolean', 'description': 'Whether result_date is a working day.'}, 'source_snapshot_sha256': {'type': 'string', 'description': 'SHA-256 of the complete official GOV.UK JSON response used for this package.'}, 'non_working_days_skipped': {'type': 'integer', 'x-unit': 'days', 'description': 'Weekend and bank-holiday dates crossed but not counted. Unit: days.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_us_federal_working_days
Add US Federal Working Days
Use this when you need a deterministic US federal employee/office date offset in 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need state/local/private-employer, exchange or alternate-work-schedule semantics. What it computes: Adds or subtracts dates using the pinned OPM federal schedule and US weekend baseline. Example user requests: Add five US federal working days after 2027-06-17. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2027-06-17","working_days":1} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, federal_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_observed, holiday_actual_dates, weekend_days, rest_day_policy, calendar_scope, calendar_profile, source_quality, dataset_version, sources. Formula: move one day at a time; decrement remaining only when US federal status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/us-federal-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/us-federal-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2027-06-17', 'working_days': 1}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-06-17'], 'description': 'Gregorian start date in 2026-2027.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [5], 'description': 'Signed offset; start date is excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official OPM, federal guidance and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or OPM federal holiday.'}, 'territory': {'type': 'string', 'description': 'US.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR Saturday/Sunday baseline.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'OPM federal holiday names applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Federal employees and federal offices only.'}, 'source_quality': {'type': 'string', 'description': 'Official OPM schedule and federal-law references.'}, 'territory_name': {'type': 'string', 'description': 'United States.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned OPM evidence package.'}, 'rest_day_policy': {'type': 'string', 'description': 'OPM alternative work schedules need separate in-lieu resolution.'}, 'calendar_profile': {'type': 'string', 'description': 'us-opm-federal-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'True when the date is the OPM in-lieu/observed date for a holiday whose actual date is a weekend.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'holiday_actual_dates': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Underlying statutory holiday dates for observed events.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'federal_holidays_skipped': {'type': 'array', 'description': 'OPM federal holidays crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_uzbekistan_working_days
Add Uzbekistan Working Days
Use this when you need a deterministic workday offset and know the workweek variant. 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 workweek or employer/shift scope is unknown. What it computes: Adds or subtracts Uzbekistan 2026 workdays under a required five-day or six-day schedule. Example user requests: Add five five-day-workweek working days after 2026-12-28. Inputs: start_date (date); workweek (integer); working_days (integer). Complete JSON argument examples: {"start_date":"2026-12-28","workweek":5,"working_days":1} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, workweek, weekly_rest_model, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_kinds, holiday_details, calendar_scope, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only when selected status is working Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/uzbekistan-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/uzbekistan-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'workweek': 5, 'start_date': '2026-12-28', 'working_days': 1}], 'required': ['start_date', 'workweek', 'working_days'], 'properties': {'workweek': {'type': 'integer', 'maximum': 6, 'minimum': 5, 'examples': [5], 'description': 'Required official schedule variant: 5 for Saturday-Sunday rest, or 6 for Sunday-only rest.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-15'], 'description': 'Gregorian start date in 2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [5], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and cross-check sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Official weekend, statutory holiday, additional rest, transferred rest, special working day or regular workday.'}, 'workweek': {'type': 'integer', 'description': 'Selected five-day or six-day workweek.'}, 'territory': {'type': 'string', 'description': 'UZ.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Selected weekly-rest baseline.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Structured event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Official events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Nationwide 2026 statutory and PF-257 schedule scope.'}, 'is_working_day': {'type': 'boolean', 'description': 'Whether the date is working under the selected official workweek variant.'}, 'territory_name': {'type': 'string', 'description': 'Uzbekistan.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned package version.'}, 'holiday_details': {'type': 'array', 'description': 'Events with legal basis.'}, 'calendar_profile': {'type': 'string', 'description': 'uzbekistan-public-holidays.'}, 'weekly_rest_model': {'type': 'string', 'description': 'Weekly rest baseline applied.'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published transfers only; no employer/shift inference.'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
add_vn_working_days
Add Vietnam Working Days
Use this when you need a deterministic Vietnam working-day offset. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when public-sector and statutory paid-holiday layer only; private-employer, non-Saturday/Sunday workweeks, provincial, sector, bank, school and employer schedules are not inferred. The proposed four-day 2026 Vietnam Cultural Day public-sector arrangement is not encoded until finally approved. What it computes: Adds or subtracts Vietnam authority-scope working days in exact coverage. Example user requests: Add or subtract Vietnam working days around New Year transfer. | Add or subtract Vietnam working days around Vietnam Cultural Day. Inputs: start_date (date); working_days (integer). Complete JSON argument examples: {"start_date":"2026-01-01","working_days":0} Outputs: start_date, result_date, working_days_added, calendar_days_elapsed, public_holidays_skipped, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: move one day at a time; decrement only on status.is_working_day=true Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/vietnam-public-add-working-days with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/vietnam-public-add-working-days.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_date': '2026-01-01', 'working_days': 0}], 'required': ['start_date', 'working_days'], 'properties': {'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian start date in 2026-2026.'}, 'working_days': {'type': 'integer', 'maximum': 1000, 'minimum': -1000, 'examples': [1], 'description': 'Signed offset; start date excluded for non-zero offsets.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'VN (Vietnam).'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'Input date.'}, 'result_date': {'type': 'string', 'format': 'date', 'description': 'Date reached.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Vietnam public-sector 2026 holiday schedule and nationwide statutory paid holidays'}, 'holiday_policy': {'type': 'string', 'description': 'Vietnam_2026_public_sector_schedule_plus_statutory_paid_holidays'}, 'territory_name': {'type': 'string', 'description': 'Vietnam'}, 'dataset_version': {'type': 'string', 'description': 'vn-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'vietnam-public-holidays'}, 'working_days_added': {'type': 'integer', 'description': 'Signed requested offset.'}, 'calendar_days_elapsed': {'type': 'integer', 'description': 'Signed Gregorian difference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_2026_transfers_only; private_employer_options_and_unapproved_proposals_not_inferred'}, 'public_holidays_skipped': {'type': 'array', 'description': 'Exact events crossed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_ab_test_significance
A/B Test Significance Calculator
Use this when you have visitors and conversions for a control and a variant (A/B test, split test, email test) and need to know whether the difference is statistically significant. 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 metric is a mean (revenue per user, time on page) rather than a conversion proportion, or there are more than two variants (use a chi-square or multiple-comparison procedure). What it computes: Tests whether a variant's conversion rate differs from the control's using the pooled two-proportion z-test, and reports both rates, absolute and relative lift, z-score, two-sided p-value, a confidence interval for the difference and the sample size needed per variant to detect the observed lift with 80 % power. Inputs: control_visitors (integer); control_conversions (integer); variant_visitors (integer); variant_conversions (integer); confidence_level_percent (number, %, optional). Complete JSON argument examples: {"control_visitors":1000,"control_conversions":50,"variant_visitors":1000,"variant_conversions":70} | {"control_visitors":5000,"control_conversions":200,"variant_visitors":5000,"variant_conversions":260} Outputs: control_rate_percent [%], variant_rate_percent [%], absolute_lift_percentage_points [pp], relative_lift_percent [%], standard_error_percentage_points [pp], z_score, p_value, significant, ci_lower_percentage_points [pp], ci_upper_percentage_points [pp], required_visitors_per_variant, verdict. Formula: p1 = x1/n1, p2 = x2/n2, p̄ = (x1 + x2)/(n1 + n2); z = (p2 − p1) / √(p̄(1 − p̄)(1/n1 + 1/n2)); p_value = 2·(1 − Φ(|z|)); CI = (p2 − p1) ± z_crit·√(p1(1 − p1)/n1 + p2(1 − p2)/n2); n per variant = (z_crit·√(2·p̄(1 − p̄)) + z_0.80·√(p1(1 − p1) + p2(1 − p2)))² / (p2 − p1)² Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/ab-test-significance with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/business/ab-test-significance.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'control_visitors': 1000, 'variant_visitors': 1000, 'control_conversions': 50, 'variant_conversions': 70}, {'control_visitors': 5000, 'variant_visitors': 5000, 'control_conversions': 200, 'variant_conversions': 260}], 'required': ['control_visitors', 'control_conversions', 'variant_visitors', 'variant_conversions'], 'properties': {'control_visitors': {'type': 'integer', 'maximum': 1000000000000, 'examples': [1000], 'description': 'Number of users exposed to the control (A).', 'exclusiveMinimum': 0}, 'variant_visitors': {'type': 'integer', 'maximum': 1000000000000, 'examples': [1000], 'description': 'Number of users exposed to the variant (B).', 'exclusiveMinimum': 0}, 'control_conversions': {'type': 'integer', 'maximum': 1000000000000, 'minimum': 0, 'examples': [50], 'description': 'Conversions in the control group.'}, 'variant_conversions': {'type': 'integer', 'maximum': 1000000000000, 'minimum': 0, 'examples': [70], 'description': 'Conversions in the variant group.'}, 'confidence_level_percent': {'type': 'number', 'x-unit': '%', 'default': 95, 'examples': [95], 'description': 'Confidence level for the significance decision and interval (95 → α = 0.05, two-sided). Unit: %.', 'exclusiveMaximum': 100, 'exclusiveMinimum': 0}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'p_value': {'type': 'number', 'description': 'Probability of a difference at least this large if both rates were equal.'}, 'verdict': {'type': 'string', 'description': 'Plain-language conclusion.'}, 'z_score': {'type': 'number', 'description': '(p2 − p1) / pooled standard error; positive when the variant is higher.'}, 'significant': {'type': 'boolean', 'description': 'true when p_value < 1 − confidence_level/100.'}, 'control_rate_percent': {'type': 'number', 'x-unit': '%', 'description': 'control_conversions / control_visitors × 100. Unit: %.'}, 'variant_rate_percent': {'type': 'number', 'x-unit': '%', 'description': 'variant_conversions / variant_visitors × 100. Unit: %.'}, 'relative_lift_percent': {'type': 'number', 'x-unit': '%', 'description': '(variant rate − control rate) / control rate × 100. Unit: %.'}, 'ci_lower_percentage_points': {'type': 'number', 'x-unit': 'pp', 'description': 'Lower bound of the confidence interval for variant − control (unpooled Wald interval). Unit: pp.'}, 'ci_upper_percentage_points': {'type': 'number', 'x-unit': 'pp', 'description': 'Upper bound of the same interval. Unit: pp.'}, 'required_visitors_per_variant': {'type': 'integer', 'description': 'Visitors per group needed to detect the observed difference with 80 % power at this confidence level (rounded up).'}, 'absolute_lift_percentage_points': {'type': 'number', 'x-unit': 'pp', 'description': 'variant rate − control rate, in percentage points. Unit: pp.'}, 'standard_error_percentage_points': {'type': 'number', 'x-unit': 'pp', 'description': '√(p̄(1 − p̄)(1/n1 + 1/n2)) × 100 under the null hypothesis. Unit: pp.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_age
Age Calculator
Use this when you need someone's exact age on a date, the total number of days lived, the weekday they were born on, or how many days remain until their next birthday. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need the difference between two arbitrary dates with a business-day count (use date-difference) or a countdown to an event (use days-until). What it computes: Computes the exact age on a given date as years, months and days by Gregorian calendar arithmetic, plus total days and weeks, the weekday of birth, and the date of and days until the next birthday. Inputs: birth_date (date); as_of_date (date, optional). Complete JSON argument examples: {"birth_date":"1990-05-17","as_of_date":"2026-09-23"} | {"birth_date":"1985-12-25","as_of_date":"2026-01-10"} Outputs: years, months, days, age_text, total_days [days], total_weeks [weeks], age_decimal_years [years], next_birthday_date, days_until_next_birthday [days], day_of_week_born. Formula: years, months, days = calendar difference birth_date → as_of_date (when the day-of-month is smaller, days are borrowed from the month before as_of_date); total_days = as_of_date − birth_date; total_weeks = total_days / 7; age_decimal_years = total_days / 365.2425; next_birthday = first (month, day) of birth on or after as_of_date Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/age with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/age.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'as_of_date': '2026-09-23', 'birth_date': '1990-05-17'}, {'as_of_date': '2026-01-10', 'birth_date': '1985-12-25'}], 'required': ['birth_date'], 'properties': {'as_of_date': {'type': 'string', 'format': 'date', 'default': 'today', 'examples': ['2026-09-23'], 'description': 'Date on which to evaluate the age; defaults to the current UTC date.'}, 'birth_date': {'type': 'string', 'format': 'date', 'examples': ['1990-05-17'], 'description': 'Date of birth (ISO 8601, YYYY-MM-DD).'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'days': {'type': 'integer', 'description': 'Days beyond the completed months.'}, 'years': {'type': 'integer', 'description': 'Completed years.'}, 'months': {'type': 'integer', 'description': 'Completed months beyond the years (0–11).'}, 'age_text': {'type': 'string', 'description': 'Age written as years, months and days (zero parts omitted).'}, 'total_days': {'type': 'integer', 'x-unit': 'days', 'description': 'Days from birth_date to as_of_date. Unit: days.'}, 'total_weeks': {'type': 'number', 'x-unit': 'weeks', 'description': 'total_days / 7. Unit: weeks.'}, 'day_of_week_born': {'type': 'string', 'description': 'Day of the week of birth_date.'}, 'age_decimal_years': {'type': 'number', 'x-unit': 'years', 'description': 'total_days / 365.2425 (mean Gregorian year). Unit: years.'}, 'next_birthday_date': {'type': 'string', 'format': 'date', 'description': 'First birthday anniversary on or after as_of_date (a 29 February birthday falls on 1 March in non-leap years).'}, 'days_until_next_birthday': {'type': 'integer', 'x-unit': 'days', 'description': '0 on the birthday itself. Unit: days.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_amortization_schedule
Amortization Schedule Calculator
Use this when you need to see how each payment splits into principal and interest over the life of a mortgage or loan, the balance at the end of each year, or the effect of paying extra every month. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you only need the payment amount (use loan-payment or mortgage-payment), or you know the payment and want the payoff time of a revolving balance (use debt-payoff). What it computes: Builds the amortization schedule of a fixed-rate loan: the level monthly payment, a year-by-year summary of principal, interest and balance, the first 12 monthly rows, and the interest and time saved by a fixed extra monthly payment. Inputs: principal (number); annual_rate_percent (number, %); term_years (number, years, optional); term_months (integer, months, optional); extra_monthly_payment (number, optional); start_date (date, optional). Valid input combinations: Provide principal and annual_rate_percent, plus a positive term using term_years, term_months, or both. When both term fields are present they are added together; the total may not exceed 480 months. Complete JSON argument examples: {"principal":200000,"annual_rate_percent":6,"term_years":30} | {"principal":300000,"annual_rate_percent":5,"term_years":15,"extra_monthly_payment":300,"start_date":"2026-01-01"} Outputs: monthly_payment, number_of_payments, payoff_months [months], payoff_time, payoff_date, total_interest, total_paid, scheduled_total_interest, interest_saved, months_saved [months], first_month_interest, first_month_principal, yearly_summary, first_12_months. Formula: i = annual_rate_percent / 1200; n = 12·term_years + term_months; monthly_payment = principal × i / (1 − (1 + i)^−n) (principal / n if i = 0). Each month: interest = balance × i; principal_paid = monthly_payment + extra_monthly_payment − interest (capped at the balance); balance −= principal_paid, until the balance is 0. Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/amortization-schedule with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/finance/amortization-schedule.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'anyOf': [{'required': ['term_years'], 'properties': {'term_years': {'exclusiveMinimum': 0}}}, {'required': ['term_months'], 'properties': {'term_months': {'minimum': 1}}}], 'examples': [{'principal': 200000, 'term_years': 30, 'annual_rate_percent': 6}, {'principal': 300000, 'start_date': '2026-01-01', 'term_years': 15, 'annual_rate_percent': 5, 'extra_monthly_payment': 300}], 'required': ['principal', 'annual_rate_percent'], 'properties': {'principal': {'type': 'number', 'maximum': 1000000000000, 'examples': [200000], 'description': 'Amount borrowed.', 'exclusiveMinimum': 0}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Optional loan origination date (YYYY-MM-DD); the first payment is due one month later and payoff_date is reported.'}, 'term_years': {'type': 'number', 'x-unit': 'years', 'maximum': 40, 'minimum': 0, 'examples': [30], 'description': 'Loan term in years; added to term_months when both are given. Total term is limited to 40 years. Unit: years.'}, 'term_months': {'type': 'integer', 'x-unit': 'months', 'default': 0, 'maximum': 480, 'minimum': 0, 'examples': [0], 'description': 'Additional months of term (e.g. term_months=60 alone for a five-year loan). Unit: months.'}, 'annual_rate_percent': {'type': 'number', 'x-unit': '%', 'maximum': 100, 'minimum': 0, 'examples': [6], 'description': 'Fixed nominal annual rate in percent; the monthly rate is this / 12. Unit: %.'}, 'extra_monthly_payment': {'type': 'number', 'default': 0, 'maximum': 1000000000000, 'minimum': 0, 'examples': [0], 'description': 'Optional fixed amount paid on top of the scheduled payment every month, applied to principal.'}}, 'description': 'Provide principal and annual_rate_percent, plus a positive term using term_years, term_months, or both. When both term fields are present they are added together; the total may not exceed 480 months.', 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'total_paid': {'type': 'number', 'description': 'principal + total_interest.'}, 'payoff_date': {'type': 'string', 'format': 'date', 'description': 'start_date plus payoff_months (only when start_date is given).'}, 'payoff_time': {'type': 'string', 'description': 'payoff_months in years and months.'}, 'months_saved': {'type': 'integer', 'x-unit': 'months', 'description': 'number_of_payments − payoff_months. Unit: months.'}, 'payoff_months': {'type': 'integer', 'x-unit': 'months', 'description': 'Actual number of payments including the extra payment (equals number_of_payments without one). Unit: months.'}, 'interest_saved': {'type': 'number', 'description': 'scheduled_total_interest − total_interest.'}, 'total_interest': {'type': 'number', 'description': 'Interest paid over the actual schedule (with extra payments).'}, 'yearly_summary': {'type': 'array', 'description': 'One row per loan year: year, principal_paid, interest_paid, ending_balance (at most 40 rows).'}, 'first_12_months': {'type': 'array', 'description': 'Rows for months 1–12: month, payment, principal, interest, balance.'}, 'monthly_payment': {'type': 'number', 'description': 'Level payment from the annuity formula (before any extra payment).'}, 'number_of_payments': {'type': 'integer', 'description': '12 × term_years + term_months.'}, 'first_month_interest': {'type': 'number', 'description': 'principal × annual_rate_percent / 1200.'}, 'first_month_principal': {'type': 'number', 'description': 'monthly_payment + extra_monthly_payment − first_month_interest.'}, 'scheduled_total_interest': {'type': 'number', 'description': 'monthly_payment × number_of_payments − principal.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_bazi_four_pillars
Bazi Four Pillars (八字)
Use this when you need the four stem-branch pillars (年柱 月柱 日柱 时柱) of a birth moment, the day master and its ten-god relations, element balance, or the start age and sequence of the 大运 luck pillars. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you only need the lunar date or zodiac of a date (use lunar-calendar-converter or chinese-zodiac), the stem-branch of a single date without an hour (use sexagenary-cycle), or an interpretation of the chart — this tool computes the traditional chart only and gives no predictions. What it computes: Builds the Bazi (八字, Bāzì) / Four Pillars (四柱) chart of a birth date and time: year pillar by 立春 (Lìchūn), month pillar by the 节 (jié) solar terms, day pillar from the sexagenary day count, hour pillar by the 五鼠遁 (Wǔshǔdùn) rule, plus day master, five-element counts, ten gods (十神), hidden stems (藏干), 纳音 (nàyīn), void branches (空亡) and the ten-year luck pillars (大运). Inputs: birth_date (date); birth_time (string); sex (enum); utc_offset_hours (number, h, optional); longitude_degrees (number, °, optional); late_zi_next_day (boolean, optional); include_hidden_stems (boolean, optional). Complete JSON argument examples: {"birth_date":"1990-05-17","birth_time":"08:30","sex":"male","utc_offset_hours":8} | {"birth_date":"2000-01-01","birth_time":"00:30","sex":"female","utc_offset_hours":8} Outputs: bazi_chart, year_pillar, month_pillar, day_pillar, hour_pillar, pillars_pinyin, pillars_english, day_master, zodiac, five_element_counts, missing_elements, dominant_element, ten_gods, hidden_stems, nayin, void_branches, luck_direction, luck_start_age, luck_start_age_years [years], luck_pillars, lunar_birth_date, solar_term_context, time_used, notes. Formula: year = solarYearAtLichun(birth instant); month stem = ((year stem mod 5) × 2 + 2 + months since 寅) mod 10; day index = (JDN + 49) mod 60; hour stem = ((day stem mod 5) × 2 + hour branch) mod 10; hour branch = floor(((hour + 1) mod 24) / 2); true solar time = clock + (longitude − 15 × utc_offset) × 4 min + equation of time; 起运 years = days to 节 / 3 Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/bazi-four-pillars with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/lunar/bazi-four-pillars.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'sex': 'male', 'birth_date': '1990-05-17', 'birth_time': '08:30', 'utc_offset_hours': 8}, {'sex': 'female', 'birth_date': '2000-01-01', 'birth_time': '00:30', 'utc_offset_hours': 8}], 'required': ['birth_date', 'birth_time', 'sex'], 'properties': {'sex': {'enum': ['male', 'female'], 'type': 'string', 'examples': ['male'], 'description': 'Sex, used only for the direction of the luck pillars (阳年男/阴年女 forward, 阴年男/阳年女 backward).'}, 'birth_date': {'type': 'string', 'format': 'date', 'examples': ['1990-05-17'], 'description': 'Gregorian civil date of birth in the local clock time of the birthplace (1900–2100).'}, 'birth_time': {'type': 'string', 'examples': ['08:30'], 'description': 'Local clock time of birth, 24-hour HH:MM. 23:00–00:59 is 子时 (Zǐ hour).'}, 'late_zi_next_day': {'type': 'boolean', 'default': True, 'examples': [True], 'description': "true: 23:00–23:59 belongs to the next day's 子时 and the day pillar advances at 23:00. false: 晚子时 convention — the day pillar stays, only the hour stem is taken from the next day."}, 'utc_offset_hours': {'type': 'number', 'x-unit': 'h', 'default': 8, 'maximum': 14, 'minimum': -12, 'examples': [8], 'description': 'Time-zone offset of birth_time in hours (China Standard Time = 8; use the historical zone in force at birth). Unit: h.'}, 'longitude_degrees': {'type': 'number', 'x-unit': '°', 'maximum': 180, 'minimum': -180, 'examples': [116.4], 'description': 'Optional east-positive longitude. When given, the clock time is converted to true solar time: correction = (longitude − 15 × utc_offset_hours) × 4 min + equation of time. Unit: °.'}, 'include_hidden_stems': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Add the hidden stems (藏干) of the four branches to the element count with weights 1.0 (main), 0.5 (middle) and 0.3 (residual).'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'nayin': {'type': 'object', 'description': 'Nayin melodic element of each pillar.'}, 'notes': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Conventions applied to this chart.'}, 'zodiac': {'type': 'string', 'description': 'Animal of the year pillar branch (立春 boundary).'}, 'ten_gods': {'type': 'object', 'description': 'Relation of each other stem, and of the main hidden stem of each branch, to the day master.'}, 'time_used': {'type': 'string', 'description': 'The birth time actually used for the pillars (true solar time when a longitude is given).'}, 'bazi_chart': {'type': 'string', 'description': 'The eight characters in the order year, month, day, hour.'}, 'day_master': {'type': 'string', 'description': 'The day stem, its pinyin, polarity and element; all ten-god relations are taken from it.'}, 'day_pillar': {'type': 'string', 'description': 'Stem-branch of the birth day (continuous 60-day count; 2000-01-01 = 戊午).'}, 'hour_pillar': {'type': 'string', 'description': 'Stem-branch of the double-hour; stem by 五鼠遁 from the day stem.'}, 'year_pillar': {'type': 'string', 'description': 'Stem-branch of the year; the year changes at 立春 (Start of Spring), not at Chinese New Year.'}, 'hidden_stems': {'type': 'object', 'description': "Hidden stems of each pillar's branch in main/middle/residual order."}, 'luck_pillars': {'type': 'array', 'description': 'Eight ten-year luck pillars with start age (completed years) and calendar year; forward = following month pillars, backward = preceding ones.'}, 'month_pillar': {'type': 'string', 'description': 'Stem-branch of the solar month, which starts at each 节 (odd solar term); stem by 五虎遁 (Wǔhǔdùn).'}, 'void_branches': {'type': 'string', 'description': "The two branches not covered by the day pillar's 旬 (xún, ten-day decade)."}, 'luck_direction': {'type': 'string', 'description': 'Forward (顺行) for yang-year males and yin-year females, backward (逆行) otherwise.'}, 'luck_start_age': {'type': 'string', 'description': 'Age at which the first luck pillar begins: days from birth to the next (forward) or previous (backward) 节 converted at 3 days = 1 year, 1 day = 4 months.'}, 'pillars_pinyin': {'type': 'object', 'description': 'Pinyin of the four pillars.'}, 'pillars_english': {'type': 'object', 'description': 'Stem element + branch animal of each pillar, e.g. Fire Horse.'}, 'dominant_element': {'type': 'string', 'description': 'Element with the highest raw count (ties listed together).'}, 'lunar_birth_date': {'type': 'string', 'description': 'Chinese lunar calendar date of the birth day.'}, 'missing_elements': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Elements absent from the 8 visible characters (empty list when all five are present).'}, 'solar_term_context': {'type': 'string', 'description': 'The 节 governing the month pillar and the next 节, in China Standard Time.'}, 'five_element_counts': {'type': 'object', 'description': 'Raw counts of Wood/Fire/Earth/Metal/Water over the 8 characters; with include_hidden_stems also weighted counts that add hidden stems at 1.0/0.5/0.3.'}, 'luck_start_age_years': {'type': 'number', 'x-unit': 'years', 'description': 'The same start age as a decimal number of years (days to the 节 ÷ 3). Unit: years.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_bmi
BMI Calculator
Use this when you need an adult's BMI, its WHO/CDC weight category, or the weight range that corresponds to a normal BMI (18.5–24.9) for a given height. 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 person is under 20 years old (children need age- and sex-specific BMI percentiles), or you need body-fat percentage (use body-fat) or calorie needs (use bmr / tdee). What it computes: Computes body mass index (BMI) from weight and height and classifies it with the WHO adult categories, plus the healthy weight range for that height. Inputs: weight_kg (number, kg); height_cm (number, cm). Complete JSON argument examples: {"weight_kg":70,"height_cm":175} | {"weight_kg":95,"height_cm":180} Outputs: bmi [kg/m²], category, healthy_weight_min_kg [kg], healthy_weight_max_kg [kg], prime. Formula: BMI = weight_kg / (height_cm / 100)² Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/bmi with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/health/bmi.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'height_cm': 175, 'weight_kg': 70}, {'height_cm': 180, 'weight_kg': 95}], 'required': ['weight_kg', 'height_cm'], 'properties': {'height_cm': {'type': 'number', 'x-unit': 'cm', 'maximum': 300, 'minimum': 50, 'examples': [175], 'description': 'Standing height in centimetres. Unit: cm.'}, 'weight_kg': {'type': 'number', 'x-unit': 'kg', 'maximum': 700, 'examples': [70], 'description': 'Body weight in kilograms. Unit: kg.', 'exclusiveMinimum': 0}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'bmi': {'type': 'number', 'x-unit': 'kg/m²', 'description': 'Body mass index = weight / height². Unit: kg/m².'}, 'prime': {'type': 'number', 'description': 'BMI divided by the upper normal limit 25; values above 1 indicate excess weight.'}, 'category': {'type': 'string', 'description': 'WHO adult BMI classification.'}, 'healthy_weight_max_kg': {'type': 'number', 'x-unit': 'kg', 'description': 'Weight at BMI 24.9 for this height. Unit: kg.'}, 'healthy_weight_min_kg': {'type': 'number', 'x-unit': 'kg', 'description': 'Weight at BMI 18.5 for this height. Unit: kg.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_bmr
BMR Calculator
Use this when you need resting daily calorie needs for an adult from sex, weight, height and age, as a base for diet or TDEE calculations. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need total daily calories including activity (use tdee), the person is a child, pregnant, or has very high muscle mass (use a body-fat based equation such as Katch-McArdle instead). What it computes: Estimates basal metabolic rate (calories burned at complete rest per day) with the Mifflin-St Jeor equation, and also reports the revised Harris-Benedict estimate. Inputs: sex (enum); weight_kg (number, kg); height_cm (number, cm); age_years (number, years). Complete JSON argument examples: {"sex":"male","weight_kg":70,"height_cm":175,"age_years":30} | {"sex":"female","weight_kg":60,"height_cm":165,"age_years":40} Outputs: bmr_kcal_per_day [kcal/day], harris_benedict_kcal_per_day [kcal/day], bmr_kj_per_day [kJ/day]. Formula: Mifflin-St Jeor: BMR = 10·weight_kg + 6.25·height_cm − 5·age_years + 5 (male) or − 161 (female). Harris-Benedict (1984): male 88.362 + 13.397·W + 4.799·H − 5.677·A; female 447.593 + 9.247·W + 3.098·H − 4.330·A. Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/bmr with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/health/bmr.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'sex': 'male', 'age_years': 30, 'height_cm': 175, 'weight_kg': 70}, {'sex': 'female', 'age_years': 40, 'height_cm': 165, 'weight_kg': 60}], 'required': ['sex', 'weight_kg', 'height_cm', 'age_years'], 'properties': {'sex': {'enum': ['male', 'female'], 'type': 'string', 'examples': ['male'], 'description': 'Biological sex used to select the formula coefficients.'}, 'age_years': {'type': 'number', 'x-unit': 'years', 'maximum': 120, 'minimum': 18, 'examples': [30], 'description': 'Age in years (adults only). Unit: years.'}, 'height_cm': {'type': 'number', 'x-unit': 'cm', 'maximum': 300, 'minimum': 50, 'examples': [175], 'description': 'Height in centimetres. Unit: cm.'}, 'weight_kg': {'type': 'number', 'x-unit': 'kg', 'maximum': 700, 'examples': [70], 'description': 'Body weight in kilograms. Unit: kg.', 'exclusiveMinimum': 0}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'bmr_kj_per_day': {'type': 'number', 'x-unit': 'kJ/day', 'description': 'Mifflin-St Jeor BMR expressed in kilojoules (1 kcal = 4.184 kJ). Unit: kJ/day.'}, 'bmr_kcal_per_day': {'type': 'number', 'x-unit': 'kcal/day', 'description': 'Basal metabolic rate by the Mifflin-St Jeor equation (recommended by the Academy of Nutrition and Dietetics). Unit: kcal/day.'}, 'harris_benedict_kcal_per_day': {'type': 'number', 'x-unit': 'kcal/day', 'description': 'Basal metabolic rate by the Roza & Shizgal 1984 revision of Harris-Benedict, for comparison. Unit: kcal/day.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_business_deadline
Cross-Border Business Hours Deadline
Use this when you need an SLA, support, procurement or order deadline measured in business hours under the published mainland China or UK calendar, and must express the result in another team's IANA time zone with reproducible holiday and DST evidence. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need calendar hours, an overnight or split shift, lunch breaks, an employer/local/market calendar, a legal filing deadline, actual delivery/arrival prediction, private calendar availability, or a date outside the selected evidence package's coverage. What it computes: Adds an explicit number of business hours inside a caller-supplied daily window, using either the official mainland China work calendar or a selected GOV.UK division, then returns the deadline in UTC, the calendar zone and a target IANA zone with a complete segment/skip audit trail. Example user requests: A Shanghai support ticket opened at 2026-09-24 15:00 has a 16-business-hour SLA, counted from that day during 09:00-17:00 China official working time. When is it due in London? | Starting 24 December 2026 at 15:00 London time, add 8 England-and-Wales business hours between 09:00 and 17:00 and show the deadline in Shanghai. | 按中国官方工作日,从 2026-09-24 15:00(上海)起计算 16 个营业小时,每天 09:00-17:00,起始日计入;给出伦敦时间和跳过日期。 Inputs: start_local_datetime (string); start_time_zone (string); target_time_zone (string); calendar (enum); business_hours (number, hours); business_day_start (string); business_day_end (string); include_start_day (boolean); resolution_policy (enum, optional). Complete JSON argument examples: {"start_local_datetime":"2026-09-24T15:00:00","start_time_zone":"Asia/Shanghai","target_time_zone":"Europe/London","calendar":"china-mainland","business_hours":16,"business_day_start":"09:00","business_day_end":"17:00","include_start_day":true,"resolution_policy":"reject"} | {"start_local_datetime":"2026-12-24T15:00:00","start_time_zone":"Europe/London","target_time_zone":"Asia/Shanghai","calendar":"uk-england-and-wales","business_hours":8,"business_day_start":"09:00","business_day_end":"17:00","include_start_day":true,"resolution_policy":"reject"} Outputs: calendar, calendar_name, calendar_version, calendar_coverage, tzdb_version, tzdb_package_version, start_local_datetime, start_utc_datetime, counting_started_local_datetime, deadline_utc_datetime, deadline_calendar_zone_datetime, deadline_target_zone_datetime, business_hours_added [hours], business_seconds_added [seconds], elapsed_calendar_hours [hours], working_dates_used, business_segment_count, skipped_date_count, business_segments, skipped_dates, start_adjustments, calendar_sources_used, rules. Formula: deadline = consume business_hours only inside [business_day_start, business_day_end) on dates where the selected versioned calendar reports is_working_day=true; convert each local boundary with pinned IANA tzdb Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/business-hours-deadline with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/business/business-hours-deadline.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'calendar': 'china-mainland', 'business_hours': 16, 'start_time_zone': 'Asia/Shanghai', 'business_day_end': '17:00', 'target_time_zone': 'Europe/London', 'include_start_day': True, 'resolution_policy': 'reject', 'business_day_start': '09:00', 'start_local_datetime': '2026-09-24T15:00:00'}, {'calendar': 'uk-england-and-wales', 'business_hours': 8, 'start_time_zone': 'Europe/London', 'business_day_end': '17:00', 'target_time_zone': 'Asia/Shanghai', 'include_start_day': True, 'resolution_policy': 'reject', 'business_day_start': '09:00', 'start_local_datetime': '2026-12-24T15:00:00'}], 'required': ['start_local_datetime', 'start_time_zone', 'target_time_zone', 'calendar', 'business_hours', 'business_day_start', 'business_day_end', 'include_start_day'], 'properties': {'calendar': {'enum': ['china-mainland', 'uk-england-and-wales', 'uk-scotland', 'uk-northern-ireland'], 'type': 'string', 'examples': ['china-mainland'], 'description': 'Versioned public working-day calendar that determines which local dates may consume business hours.'}, 'business_hours': {'type': 'number', 'x-unit': 'hours', 'maximum': 1000, 'examples': [16], 'description': 'Positive duration consumed only inside eligible working-date windows. It is rounded to the nearest second. Unit: hours.', 'exclusiveMinimum': 0}, 'start_time_zone': {'type': 'string', 'examples': ['Asia/Shanghai'], 'maxLength': 64, 'description': 'IANA zone used for the start time and every daily business window.'}, 'business_day_end': {'type': 'string', 'pattern': '^(?:[01]\\d|2[0-3]):[0-5]\\d$', 'examples': ['17:00'], 'maxLength': 5, 'description': 'Local closing/cutoff time on each eligible working date. Must be later than business_day_start on the same date.'}, 'target_time_zone': {'type': 'string', 'examples': ['Europe/London'], 'maxLength': 64, 'description': 'IANA zone in which the same deadline should also be returned for the receiving team.'}, 'include_start_day': {'type': 'boolean', 'examples': [True], 'description': 'True counts eligible time remaining on the start local date; false skips that entire local date and starts at the next working opening.'}, 'resolution_policy': {'enum': ['reject', 'earlier', 'later', 'shift_forward'], 'type': 'string', 'default': 'reject', 'examples': ['reject'], 'description': 'How to resolve an ambiguous or nonexistent start wall time. reject is safest; earlier/later select a repeated instant; shift_forward moves a gap time by the DST jump.'}, 'business_day_start': {'type': 'string', 'pattern': '^(?:[01]\\d|2[0-3]):[0-5]\\d$', 'examples': ['09:00'], 'maxLength': 5, 'description': 'Local opening time on each eligible working date. Must be earlier than business_day_end; overnight windows are not supported.'}, 'start_local_datetime': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}[T ](?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d)?$', 'examples': ['2026-09-24T15:00:00'], 'maxLength': 19, 'description': 'Start wall-clock date and time without an offset. start_time_zone supplies its IANA zone.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'rules': {'type': 'object', 'description': 'Complete caller-supplied window, calendar, inclusion and time-zone interpretation rules.'}, 'calendar': {'type': 'string', 'description': 'Selected versioned working-day calendar.'}, 'tzdb_version': {'type': 'string', 'description': 'Pinned IANA transition-data version used for every instant.'}, 'calendar_name': {'type': 'string', 'description': 'Human-readable calendar scope.'}, 'skipped_dates': {'type': 'array', 'description': 'Dates not counted, with holiday/weekend/start-rule reason.'}, 'calendar_version': {'type': 'string', 'description': 'Exact China or GOV.UK evidence-package version used.'}, 'business_segments': {'type': 'array', 'description': 'Auditable local/UTC segment boundaries, duration and calendar reason for every counted interval.'}, 'calendar_coverage': {'type': 'object', 'description': 'First and last dates supported by the selected calendar package.'}, 'start_adjustments': {'type': 'array', 'description': 'Any move from the supplied instant to the first eligible business instant.'}, 'skipped_date_count': {'type': 'integer', 'description': 'Number of calendar dates explicitly skipped for a calendar or start-rule reason.'}, 'start_utc_datetime': {'type': 'string', 'description': 'Chosen start instant in UTC.'}, 'working_dates_used': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Ordered unique local dates whose windows contributed business time.'}, 'business_hours_added': {'type': 'number', 'x-unit': 'hours', 'description': 'Business duration actually consumed after nearest-second normalization. Unit: hours.'}, 'start_local_datetime': {'type': 'string', 'description': 'Chosen start instant rendered in the calendar zone with UTC offset.'}, 'tzdb_package_version': {'type': 'string', 'description': 'Calcgrid package version containing the pinned tzdb release.'}, 'calendar_sources_used': {'type': 'array', 'description': 'Deduplicated official notices or snapshot evidence actually consulted for the traversed dates.'}, 'deadline_utc_datetime': {'type': 'string', 'description': 'Final deadline instant in UTC.'}, 'business_seconds_added': {'type': 'integer', 'x-unit': 'seconds', 'description': 'Integer duration consumed within eligible windows. Unit: seconds.'}, 'business_segment_count': {'type': 'integer', 'description': 'Number of dated working-window segments consumed.'}, 'elapsed_calendar_hours': {'type': 'number', 'x-unit': 'hours', 'description': 'Actual elapsed UTC time from the supplied start instant to the deadline. Unit: hours.'}, 'deadline_target_zone_datetime': {'type': 'string', 'description': 'The same final instant in target_time_zone with UTC offset.'}, 'counting_started_local_datetime': {'type': 'string', 'description': 'First eligible instant after applying the working-day, daily-window and include-start-day rules.'}, 'deadline_calendar_zone_datetime': {'type': 'string', 'description': 'Final deadline in start_time_zone with UTC offset.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_circle_properties
Circle Calculator
Use this when you know a circle's radius or diameter and need its area, circumference or the other dimension. 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 shape is an ellipse (use ellipse), a solid ball (use sphere) or a disc with thickness (use cylinder). What it computes: Computes the area, circumference, diameter and radius of a circle from either its radius or its diameter. Lengths are unit-agnostic: the area is in the square of the input unit. Example user requests: Calculate the area and circumference of a circle with radius 3. | A circle has diameter 10; return its radius, circumference and area. Inputs: radius (number, units, optional); diameter (number, units, optional). Valid input combinations: Provide at least one of radius or diameter. You may provide both when diameter equals 2 × radius; conflicting values are rejected. Complete JSON argument examples: {"radius":3} | {"diameter":10} Outputs: radius [units], diameter [units], circumference [units], area [units²]. Formula: r = radius (or diameter / 2); diameter = 2·r; circumference = 2·π·r; area = π·r² Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/circle with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/geometry/circle.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'anyOf': [{'required': ['radius']}, {'required': ['diameter']}], 'examples': [{'radius': 3}, {'diameter': 10}], 'properties': {'radius': {'type': 'number', 'x-unit': 'units', 'examples': [3], 'description': 'Radius of the circle. Give either radius or diameter. Unit: units.', 'exclusiveMinimum': 0}, 'diameter': {'type': 'number', 'x-unit': 'units', 'examples': [6], 'description': 'Diameter of the circle (2 × radius). Used when radius is not given. Unit: units.', 'exclusiveMinimum': 0}}, 'description': 'Provide at least one of radius or diameter. You may provide both when diameter equals 2 × radius; conflicting values are rejected.', 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'area': {'type': 'number', 'x-unit': 'units²', 'description': 'π·r², in the square of the input unit. Unit: units².'}, 'radius': {'type': 'number', 'x-unit': 'units', 'description': 'Radius r (as given, or diameter / 2). Unit: units.'}, 'diameter': {'type': 'number', 'x-unit': 'units', 'description': '2·r. Unit: units.'}, 'circumference': {'type': 'number', 'x-unit': 'units', 'description': '2·π·r. Unit: units.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_compound_interest
Compound Interest Calculator
Use this when you need to project a savings account, certificate of deposit or investment balance from a starting amount, an annual rate, a term and optional monthly deposits. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when interest is not reinvested (use simple-interest), you need the deposit required to hit a target (use savings-goal), or you are repaying a loan (use loan-payment). What it computes: Computes the future balance of a principal earning compound interest at a chosen compounding frequency, optionally with a fixed deposit at the end of every month, and splits the result into contributions and interest. Inputs: principal (number); annual_rate_percent (number, %); years (number, years); compounding_frequency (enum, optional); monthly_contribution (number, optional). Complete JSON argument examples: {"principal":10000,"annual_rate_percent":5,"years":10,"compounding_frequency":"monthly"} | {"principal":5000,"annual_rate_percent":6,"years":20,"compounding_frequency":"monthly","monthly_contribution":100} Outputs: final_balance, total_contributions, total_interest, effective_annual_rate_percent [%], growth_multiple. Formula: A = principal × (1 + r/n)^(n·years) with r = annual_rate_percent/100 and n periods per year. Contributions: i_m = (1 + r/n)^(n/12) − 1, m = 12·years, FV_contrib = monthly_contribution × ((1 + i_m)^m − 1) / i_m (m × contribution when r = 0). final_balance = A + FV_contrib. Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/compound-interest with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/finance/compound-interest.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'years': 10, 'principal': 10000, 'annual_rate_percent': 5, 'compounding_frequency': 'monthly'}, {'years': 20, 'principal': 5000, 'annual_rate_percent': 6, 'monthly_contribution': 100, 'compounding_frequency': 'monthly'}], 'required': ['principal', 'annual_rate_percent', 'years'], 'properties': {'years': {'type': 'number', 'x-unit': 'years', 'maximum': 200, 'examples': [10], 'description': 'Length of the investment in years; fractional years allowed (2.5 = 30 months). Unit: years.', 'exclusiveMinimum': 0}, 'principal': {'type': 'number', 'maximum': 1000000000000, 'minimum': 0, 'examples': [10000], 'description': 'Starting amount deposited or invested, in any currency.'}, 'annual_rate_percent': {'type': 'number', 'x-unit': '%', 'maximum': 100, 'minimum': 0, 'examples': [5], 'description': 'Nominal annual rate (APR) in percent; 5 means 5 %. Unit: %.'}, 'monthly_contribution': {'type': 'number', 'default': 0, 'maximum': 1000000000, 'minimum': 0, 'examples': [0], 'description': 'Optional fixed deposit made at the end of every month, compounded at the effective monthly rate implied by compounding_frequency.'}, 'compounding_frequency': {'enum': ['annually', 'semiannually', 'quarterly', 'monthly', 'weekly', 'daily'], 'type': 'string', 'default': 'monthly', 'examples': ['monthly'], 'description': 'How often interest is credited: n = 1, 2, 4, 12, 52 or 365 periods per year.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'final_balance': {'type': 'number', 'description': 'Principal, contributions and all compounded interest at the end of the term.'}, 'total_interest': {'type': 'number', 'description': 'final_balance − total_contributions.'}, 'growth_multiple': {'type': 'number', 'description': 'final_balance / total_contributions.'}, 'total_contributions': {'type': 'number', 'description': 'Principal plus all monthly deposits (money paid in).'}, 'effective_annual_rate_percent': {'type': 'number', 'x-unit': '%', 'description': '(1 + r/n)^n − 1: the yield actually earned per year at this compounding frequency. Unit: %.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_date_difference
Date Difference Calculator
Use this when you need the number of days, weeks or working days between two dates, or a calendar-style 'x years y months z days' difference. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you want to add or subtract a number of days from a date (use add-days), or you need an age with the next birthday (use age). What it computes: Counts the days between two ISO dates and expresses the gap as weeks and days, as a calendar breakdown in years, months and days, and as business days (Monday–Friday, public holidays not excluded). Inputs: start_date (date); end_date (date); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-12-25"} | {"start_date":"2025-11-05","end_date":"2026-03-15","include_end_date":true} Outputs: days [days], weeks [weeks], remaining_days [days], weeks_and_days, calendar_years, calendar_months, calendar_days, calendar_text, business_days [days]. Formula: days = end_date − start_date (+1 if include_end_date); weeks = floor(days / 7); remaining_days = days mod 7; business_days = number of Mon–Fri dates in [start_date, end_date) or [start_date, end_date] when inclusive; calendar breakdown = whole years, months, then days borrowed from the month before end_date Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/date-difference with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/date-difference.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-12-25', 'start_date': '2026-01-01'}, {'end_date': '2026-03-15', 'start_date': '2025-11-05', 'include_end_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-25'], 'description': 'Second date (YYYY-MM-DD). If it is earlier than start_date the dates are swapped and a note is returned.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date (ISO 8601, YYYY-MM-DD).'}, 'include_end_date': {'type': 'boolean', 'default': False, 'examples': [False], 'description': 'true counts both endpoints (adds one day to days, weeks/days and business_days), e.g. for inclusive rental or leave periods.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'days': {'type': 'integer', 'x-unit': 'days', 'description': 'end_date − start_date in days (+1 when include_end_date is true). Unit: days.'}, 'weeks': {'type': 'integer', 'x-unit': 'weeks', 'description': 'floor(days / 7). Unit: weeks.'}, 'business_days': {'type': 'integer', 'x-unit': 'days', 'description': 'Mondays to Fridays among the counted days (public holidays are not excluded). Unit: days.'}, 'calendar_days': {'type': 'integer', 'description': 'Days beyond the whole months.'}, 'calendar_text': {'type': 'string', 'description': 'Years, months and days written out (zero parts omitted).'}, 'calendar_years': {'type': 'integer', 'description': 'Whole years between the two dates (not affected by include_end_date).'}, 'remaining_days': {'type': 'integer', 'x-unit': 'days', 'description': 'days − 7 × weeks. Unit: days.'}, 'weeks_and_days': {'type': 'string', 'description': 'Same gap written as weeks and days.'}, 'calendar_months': {'type': 'integer', 'description': 'Whole months beyond the years.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_depth_of_field
Depth of Field Calculator
Use this when you need to know how much of a scene is acceptably sharp for given camera settings, or how far sharpness extends in front of and behind the focused subject. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you only need the focus distance that maximises depth of field (use hyperfocal-distance), or you shoot macro above about 0.2× magnification where lens extension and pupil magnification make the thin-lens equations inaccurate. What it computes: Computes the near and far limits of acceptable sharpness, the total depth of field and the hyperfocal distance from focal length, f-number, focus distance and the sensor's circle of confusion, using the standard thin-lens depth-of-field equations. Inputs: focal_length_mm (number, mm); aperture_f (number); focus_distance_m (number, m); sensor (enum, optional); coc_mm (number, mm, optional). Complete JSON argument examples: {"focal_length_mm":50,"aperture_f":2.8,"focus_distance_m":3,"sensor":"full_frame"} | {"focal_length_mm":24,"aperture_f":8,"focus_distance_m":5,"sensor":"full_frame"} Outputs: hyperfocal_m [m], near_limit_m [m], far_limit_m [m], far_limit_text, total_dof_m [m], in_front_of_subject_m [m], behind_subject_m [m], coc_used_mm [mm]. Formula: H = f² / (N·c) + f; near = s·(H − f) / (H + s − 2f); far = s·(H − f) / (H − s) when s < H, otherwise infinity (f = focal_length_mm, N = aperture_f, c = coc_mm, s = focus_distance_m × 1000, all in mm) Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/depth-of-field with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/photography/depth-of-field.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'sensor': 'full_frame', 'aperture_f': 2.8, 'focal_length_mm': 50, 'focus_distance_m': 3}, {'sensor': 'full_frame', 'aperture_f': 8, 'focal_length_mm': 24, 'focus_distance_m': 5}], 'required': ['focal_length_mm', 'aperture_f', 'focus_distance_m'], 'properties': {'coc_mm': {'type': 'number', 'x-unit': 'mm', 'maximum': 1, 'examples': [0.03], 'description': 'Optional acceptable circle-of-confusion diameter; overrides the preset value (full frame 0.030, APS-C 0.020, Micro Four Thirds 0.015, 1-inch 0.011 mm). Unit: mm.', 'exclusiveMinimum': 0}, 'sensor': {'enum': ['full_frame', 'aps_c', 'aps_c_canon', 'micro_four_thirds', 'one_inch', 'medium_format_44x33', 'smartphone_1_over_2_3'], 'type': 'string', 'default': 'full_frame', 'examples': ['full_frame'], 'description': 'Sensor format; selects the circle of confusion (0.030 mm full frame, 0.020 mm APS-C, 0.015 mm Micro Four Thirds ...).'}, 'aperture_f': {'type': 'number', 'maximum': 128, 'minimum': 0.5, 'examples': [2.8], 'description': 'Lens f-number, e.g. 2.8 for f/2.8.'}, 'focal_length_mm': {'type': 'number', 'x-unit': 'mm', 'maximum': 5000, 'minimum': 1, 'examples': [50], 'description': 'Actual (not equivalent) focal length of the lens in millimetres. Unit: mm.'}, 'focus_distance_m': {'type': 'number', 'x-unit': 'm', 'maximum': 100000, 'examples': [3], 'description': "Distance from the camera's sensor plane to the focused subject in metres. Unit: m.", 'exclusiveMinimum': 0}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'coc_used_mm': {'type': 'number', 'x-unit': 'mm', 'description': 'Circle of confusion diameter applied (preset or override). Unit: mm.'}, 'far_limit_m': {'type': 'number', 'x-unit': 'm', 'description': 'Farthest distance that is acceptably sharp; omitted when it is infinite (see far_limit_text). Unit: m.'}, 'total_dof_m': {'type': 'number', 'x-unit': 'm', 'description': 'far − near; omitted when the far limit is infinite. Unit: m.'}, 'hyperfocal_m': {'type': 'number', 'x-unit': 'm', 'description': 'H = f²/(N·c) + f: focusing here gives sharpness from H/2 to infinity. Unit: m.'}, 'near_limit_m': {'type': 'number', 'x-unit': 'm', 'description': 'Closest distance that is acceptably sharp. Unit: m.'}, 'far_limit_text': {'type': 'string', 'description': "Far limit as text, 'infinity' when the focus distance is at or beyond the hyperfocal distance."}, 'behind_subject_m': {'type': 'number', 'x-unit': 'm', 'description': 'far limit − focus_distance; omitted when infinite. Unit: m.'}, 'in_front_of_subject_m': {'type': 'number', 'x-unit': 'm', 'description': 'focus_distance − near limit. Unit: m.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_descriptive_statistics
Descriptive Statistics Calculator
Use this when you have a set of numeric observations and need its central tendency, spread or quartiles, e.g. the standard deviation of a data set. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a single percentile or the percentile rank of one value (use percentile), a standardised score (use z-score), or statistics of two paired variables (use correlation or linear-regression). What it computes: Computes summary statistics for a list of numbers: count, sum, mean, median, mode, range, sample and population variance and standard deviation, standard error, coefficient of variation, quartiles (linear interpolation) and skewness. Inputs: values (number_list). Complete JSON argument examples: {"values":[2,4,4,4,5,5,7,9]} | {"values":[4,8,15,16,23,42]} Outputs: count, sum, mean, median, mode, mode_count, min, max, range, sample_variance, sample_std_dev, population_variance, population_std_dev, standard_error, coefficient_of_variation_percent [%], q1, q3, iqr, skewness. Formula: mean = Σx / n; sample_variance = Σ(x − mean)² / (n − 1); population_variance = Σ(x − mean)² / n; standard_error = s / √n; CV% = 100·s / mean; quartile at p: rank = p·(n − 1), value = x(⌊rank⌋) + (rank − ⌊rank⌋)·(x(⌊rank⌋+1) − x(⌊rank⌋)) on sorted data; skewness G1 = n / ((n − 1)(n − 2)) · Σ((x − mean) / s)³ Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/descriptive-statistics with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/statistics/descriptive-statistics.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'values': [2, 4, 4, 4, 5, 5, 7, 9]}, {'values': [4, 8, 15, 16, 23, 42]}], 'required': ['values'], 'properties': {'values': {'type': 'array', 'items': {'type': 'number'}, 'examples': [[2, 4, 4, 4, 5, 5, 7, 9]], 'maxItems': 10000, 'minItems': 1, 'description': 'The data set, as a list of numbers (comma-separated or JSON array). At least 2 values are needed for sample statistics.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'q1': {'type': 'number', 'description': '25th percentile by linear interpolation (Excel PERCENTILE.INC / R type 7).'}, 'q3': {'type': 'number', 'description': '75th percentile by the same method.'}, 'iqr': {'type': 'number', 'description': 'Q3 − Q1.'}, 'max': {'type': 'number', 'description': 'Largest value.'}, 'min': {'type': 'number', 'description': 'Smallest value.'}, 'sum': {'type': 'number', 'description': 'Sum of all values.'}, 'mean': {'type': 'number', 'description': 'Arithmetic mean = sum / n.'}, 'mode': {'type': 'string', 'description': "Most frequent value(s), comma-separated when several values tie; 'none' when no value repeats."}, 'count': {'type': 'integer', 'description': 'Number of values.'}, 'range': {'type': 'number', 'description': 'max − min.'}, 'median': {'type': 'number', 'description': 'Middle value of the sorted data (average of the two middle values when n is even).'}, 'skewness': {'type': 'number', 'description': 'Adjusted Fisher-Pearson sample skewness G1 (same as Excel SKEW); requires n ≥ 3 and s > 0. Positive = right tail longer.'}, 'mode_count': {'type': 'integer', 'description': 'How many times the mode occurs.'}, 'sample_std_dev': {'type': 'number', 'description': '√sample_variance (n ≥ 2).'}, 'standard_error': {'type': 'number', 'description': 's / √n (n ≥ 2).'}, 'sample_variance': {'type': 'number', 'description': 'Σ(x − mean)² / (n − 1). Use when the data are a sample of a larger population (n ≥ 2).'}, 'population_std_dev': {'type': 'number', 'description': '√population_variance.'}, 'population_variance': {'type': 'number', 'description': 'Σ(x − mean)² / n. Use when the data are the entire population.'}, 'coefficient_of_variation_percent': {'type': 'number', 'x-unit': '%', 'description': '100 × s / mean; only meaningful for ratio-scale data with a positive mean (omitted when the mean is 0). Unit: %.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_fraction_arithmetic
Fraction Calculator
Use this when you need an exact result of an operation on two fractions (e.g. 3/4 + 1/6), including mixed numbers such as 1 1/2, rather than a rounded decimal. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you only want to reduce a single fraction or convert it to a decimal or percent (use fraction-simplifier), or you need the least common denominator of several denominators (use gcd-lcm). What it computes: Adds, subtracts, multiplies or divides two fractions, mixed numbers, whole numbers or decimals with exact integer arithmetic, returning the result in lowest terms, as a mixed number and as a decimal, with the intermediate steps. Inputs: fraction_a (string); fraction_b (string); operation (enum, optional). Complete JSON argument examples: {"fraction_a":"3/4","fraction_b":"1/6","operation":"add"} | {"fraction_a":"2 1/3","fraction_b":"5/6","operation":"subtract"} Outputs: result, mixed_number, numerator, denominator, decimal, working. Formula: a/b + c/d = (a·(L/b) + c·(L/d)) / L with L = lcm(b, d), a/b − c/d likewise; a/b × c/d = (a·c) / (b·d); a/b ÷ c/d = (a·d) / (b·c); the result is divided by gcd(numerator, denominator) Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/fraction-arithmetic with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/math/fraction-arithmetic.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'operation': 'add', 'fraction_a': '3/4', 'fraction_b': '1/6'}, {'operation': 'subtract', 'fraction_a': '2 1/3', 'fraction_b': '5/6'}], 'required': ['fraction_a', 'fraction_b'], 'properties': {'operation': {'enum': ['add', 'subtract', 'multiply', 'divide'], 'type': 'string', 'default': 'add', 'examples': ['add'], 'description': 'Operation applied as fraction_a (operation) fraction_b.'}, 'fraction_a': {'type': 'string', 'examples': ['3/4'], 'maxLength': 40, 'description': "First operand: a fraction '3/4', a mixed number '1 1/2' or '-1 1/2', a whole number '5' or a decimal '0.75'."}, 'fraction_b': {'type': 'string', 'examples': ['1/6'], 'maxLength': 40, 'description': 'Second operand in the same formats.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'result': {'type': 'string', 'description': "Exact result in lowest terms with the sign in the numerator, e.g. '11/12' (a whole number when the denominator reduces to 1)."}, 'decimal': {'type': 'number', 'description': 'numerator / denominator.'}, 'working': {'type': 'string', 'description': 'Steps: operands in lowest terms, the common-denominator or reciprocal step, the unreduced result and the reduced result.'}, 'numerator': {'type': 'integer', 'description': 'Numerator of the reduced result.'}, 'denominator': {'type': 'integer', 'description': 'Denominator of the reduced result (always positive).'}, 'mixed_number': {'type': 'string', 'description': "Result as whole part plus proper fraction, e.g. '1 1/2'."}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_haversine_distance
Haversine Distance Calculator
Use this when you need the straight-line distance between two GPS coordinates or cities, e.g. for flight distance, range checks or geofencing. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need road distance, or ellipsoidal accuracy better than about 0.5 % (use a geodesic method such as Vincenty or Karney on WGS-84); for bearings and compass points use compass-bearing. What it computes: Computes the great-circle (as-the-crow-flies) distance between two points on a spherical Earth with the haversine formula, in kilometres, miles and nautical miles, together with the initial bearing, compass direction and the midpoint of the route. Inputs: lat1 (number, °); lon1 (number, °); lat2 (number, °); lon2 (number, °). Complete JSON argument examples: {"lat1":-33.8688,"lon1":151.2093,"lat2":35.6762,"lon2":139.6503} | {"lat1":50.06639,"lon1":-5.71472,"lat2":58.64389,"lon2":-3.07} Outputs: distance_km [km], distance_miles [mi], distance_nautical_miles [nmi], central_angle_degrees [°], initial_bearing_degrees [°], compass_direction, midpoint_lat [°], midpoint_lon [°]. Formula: a = sin²(Δφ/2) + cos φ1 · cos φ2 · sin²(Δλ/2); c = 2 · atan2(√a, √(1−a)); d = R · c with R = 6371.0088 km; θ = atan2(sin Δλ · cos φ2, cos φ1 · sin φ2 − sin φ1 · cos φ2 · cos Δλ) Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/haversine-distance with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/time/haversine-distance.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'lat1': -33.8688, 'lat2': 35.6762, 'lon1': 151.2093, 'lon2': 139.6503}, {'lat1': 50.06639, 'lat2': 58.64389, 'lon1': -5.71472, 'lon2': -3.07}], 'required': ['lat1', 'lon1', 'lat2', 'lon2'], 'properties': {'lat1': {'type': 'number', 'x-unit': '°', 'maximum': 90, 'minimum': -90, 'examples': [-33.8688], 'description': 'Latitude of point 1 in decimal degrees (north positive, south negative). Unit: °.'}, 'lat2': {'type': 'number', 'x-unit': '°', 'maximum': 90, 'minimum': -90, 'examples': [35.6762], 'description': 'Latitude of point 2 in decimal degrees (north positive, south negative). Unit: °.'}, 'lon1': {'type': 'number', 'x-unit': '°', 'maximum': 180, 'minimum': -180, 'examples': [151.2093], 'description': 'Longitude of point 1 in decimal degrees (east positive, west negative). Unit: °.'}, 'lon2': {'type': 'number', 'x-unit': '°', 'maximum': 180, 'minimum': -180, 'examples': [139.6503], 'description': 'Longitude of point 2 in decimal degrees (east positive, west negative). Unit: °.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'distance_km': {'type': 'number', 'x-unit': 'km', 'description': 'Great-circle distance on a sphere of radius 6,371.0088 km. Unit: km.'}, 'midpoint_lat': {'type': 'number', 'x-unit': '°', 'description': 'Latitude of the great-circle midpoint. Unit: °.'}, 'midpoint_lon': {'type': 'number', 'x-unit': '°', 'description': 'Longitude of the great-circle midpoint. Unit: °.'}, 'distance_miles': {'type': 'number', 'x-unit': 'mi', 'description': 'Same distance in statute miles (1 mi = 1.609344 km). Unit: mi.'}, 'compass_direction': {'type': 'string', 'description': '16-point compass direction of the initial bearing.'}, 'central_angle_degrees': {'type': 'number', 'x-unit': '°', 'description': "Angle subtended at the Earth's centre. Unit: °."}, 'distance_nautical_miles': {'type': 'number', 'x-unit': 'nmi', 'description': 'Same distance in nautical miles (1 nmi = 1.852 km). Unit: nmi.'}, 'initial_bearing_degrees': {'type': 'number', 'x-unit': '°', 'description': 'Forward azimuth at point 1, clockwise from true north (0–360). Unit: °.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_kinetic_energy
Kinetic Energy Calculator
Use this when you need the energy of motion of an object of known mass and speed (vehicle, projectile, ball), for example to compare impact or braking energies. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when rotation contributes significantly (rotational energy ½·I·ω² is not included), speeds approach the speed of light (relativistic formula needed), or you need energy from height (use potential-energy). What it computes: Computes the translational kinetic energy of a moving mass from KE = ½·m·v², reported in joules, kilojoules, kilowatt-hours and kilocalories. Inputs: mass_kg (number, kg); velocity_m_s (number, m/s). Complete JSON argument examples: {"mass_kg":1200,"velocity_m_s":25} | {"mass_kg":0.145,"velocity_m_s":40} Outputs: kinetic_energy_j [J], kinetic_energy_kj [kJ], kinetic_energy_kwh [kWh], kinetic_energy_kcal [kcal], velocity_km_h [km/h]. Formula: KE = ½ × mass_kg × velocity_m_s²; kJ = J / 1000; kWh = J / 3,600,000; kcal = J / 4184 Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/kinetic-energy with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/physics/kinetic-energy.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'mass_kg': 1200, 'velocity_m_s': 25}, {'mass_kg': 0.145, 'velocity_m_s': 40}], 'required': ['mass_kg', 'velocity_m_s'], 'properties': {'mass_kg': {'type': 'number', 'x-unit': 'kg', 'examples': [1200], 'description': 'Mass of the moving object in kilograms. Unit: kg.', 'exclusiveMinimum': 0}, 'velocity_m_s': {'type': 'number', 'x-unit': 'm/s', 'maximum': 30000000, 'minimum': 0, 'examples': [25], 'description': 'Speed in metres per second (km/h ÷ 3.6, mph × 0.44704). Limited to 10 % of the speed of light, below which the classical formula is accurate to within 1 %. Unit: m/s.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'velocity_km_h': {'type': 'number', 'x-unit': 'km/h', 'description': 'The input speed in km/h. Unit: km/h.'}, 'kinetic_energy_j': {'type': 'number', 'x-unit': 'J', 'description': 'KE = ½ × m × v². Unit: J.'}, 'kinetic_energy_kj': {'type': 'number', 'x-unit': 'kJ', 'description': 'Kinetic energy in kilojoules. Unit: kJ.'}, 'kinetic_energy_kwh': {'type': 'number', 'x-unit': 'kWh', 'description': 'Kinetic energy in kilowatt-hours (J ÷ 3,600,000). Unit: kWh.'}, 'kinetic_energy_kcal': {'type': 'number', 'x-unit': 'kcal', 'description': 'Kinetic energy in kilocalories (thermochemical, J ÷ 4184). Unit: kcal.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_loan_payment
Loan Payment Calculator
Use this when you need the monthly payment or total interest cost of an auto, personal, student or other fixed-rate installment loan given its amount, APR and term. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need property tax, insurance and HOA in the payment (use mortgage-payment), or you know the payment and want the payoff time (use debt-payoff). What it computes: Computes the level monthly payment of a fully amortizing fixed-rate loan from principal, annual rate and term, plus the total paid and total interest over the life of the loan. Example user requests: For a 100000 loan at 6% fixed for 5 years, calculate the monthly payment and total interest. | What will I pay each month on a 420000 loan at 6.15% for 25 years? | 6000 元零利率分 12 个月偿还,每月和总计是多少? Inputs: principal (number); annual_rate_percent (number, %); term_years (number, years, optional); term_months (integer, months, optional). Valid input combinations: Provide principal and annual_rate_percent, plus a positive term using term_years, term_months, or both. When both term fields are present they are added together. Complete JSON argument examples: {"principal":200000,"annual_rate_percent":6,"term_years":30} | {"principal":25000,"annual_rate_percent":7,"term_months":60} Outputs: monthly_payment, number_of_payments, total_payment, total_interest, payoff_summary. Formula: i = annual_rate_percent / 1200; n = 12·term_years + term_months; monthly_payment = principal × i / (1 − (1 + i)^−n); if i = 0, monthly_payment = principal / n. total_payment = monthly_payment × n; total_interest = total_payment − principal. Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/loan-payment with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/finance/loan-payment.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'anyOf': [{'required': ['term_years'], 'properties': {'term_years': {'exclusiveMinimum': 0}}}, {'required': ['term_months'], 'properties': {'term_months': {'minimum': 1}}}], 'examples': [{'principal': 200000, 'term_years': 30, 'annual_rate_percent': 6}, {'principal': 25000, 'term_months': 60, 'annual_rate_percent': 7}], 'required': ['principal', 'annual_rate_percent'], 'properties': {'principal': {'type': 'number', 'maximum': 1000000000000, 'examples': [200000], 'description': 'Amount borrowed.', 'exclusiveMinimum': 0}, 'term_years': {'type': 'number', 'x-unit': 'years', 'maximum': 100, 'minimum': 0, 'examples': [30], 'description': 'Loan term in years; fractional values allowed. Added to term_months when both are given. Unit: years.'}, 'term_months': {'type': 'integer', 'x-unit': 'months', 'default': 0, 'maximum': 1200, 'minimum': 0, 'examples': [0], 'description': 'Additional months of term (e.g. term_months=60 alone for a 5-year auto loan). Unit: months.'}, 'annual_rate_percent': {'type': 'number', 'x-unit': '%', 'maximum': 100, 'minimum': 0, 'examples': [6], 'description': 'Nominal annual rate in percent; the monthly rate is this / 12. 0 is allowed for interest-free loans. Unit: %.'}}, 'description': 'Provide principal and annual_rate_percent, plus a positive term using term_years, term_months, or both. When both term fields are present they are added together.', 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'total_payment': {'type': 'number', 'description': 'monthly_payment × number_of_payments (unrounded payment).'}, 'payoff_summary': {'type': 'string', 'description': 'Plain-language summary of the schedule.'}, 'total_interest': {'type': 'number', 'description': 'total_payment − principal.'}, 'monthly_payment': {'type': 'number', 'description': 'Level payment due each month (principal + interest).'}, 'number_of_payments': {'type': 'integer', 'description': 'Total months = 12 × term_years + term_months.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_molar_mass
Molar Mass Calculator
Use this when you have a chemical formula and need its molar mass (molecular weight), the number of atoms of each element, or its elemental mass-percent composition. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you already know the molar mass and want to convert between grams and moles (use moles-mass) or need a solution concentration (use molarity). What it computes: Parses a chemical formula (including brackets, nested groups and hydrates) and sums IUPAC 2021 standard atomic weights to give the molar mass in g/mol, plus the atom count and mass-percent composition of each element. Inputs: formula (string). Complete JSON argument examples: {"formula":"C6H12O6"} | {"formula":"CuSO4·5H2O"} Outputs: molar_mass_g_mol [g/mol], molecular_mass_da [Da], atom_count, element_count, composition. Formula: molar_mass = Σ (atomic_weight_i × count_i); mass_fraction_percent_i = 100 × atomic_weight_i × count_i / molar_mass Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/molar-mass with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/chemistry/molar-mass.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'formula': 'C6H12O6'}, {'formula': 'CuSO4·5H2O'}], 'required': ['formula'], 'properties': {'formula': {'type': 'string', 'examples': ['C6H12O6'], 'description': 'Chemical formula with case-sensitive element symbols, integer subscripts, brackets and optional hydrate dot, e.g. C6H12O6, Ca(OH)2, Fe2(SO4)3, CuSO4·5H2O. A trailing charge (NH4+, SO4^2-) or state (aq) is ignored.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'atom_count': {'type': 'integer', 'description': 'Total number of atoms in one formula unit.'}, 'composition': {'type': 'array', 'description': 'Per element: symbol, atom count, atomic weight, contributed mass (g/mol) and mass fraction in percent.'}, 'element_count': {'type': 'integer', 'description': 'Number of distinct elements in the formula.'}, 'molar_mass_g_mol': {'type': 'number', 'x-unit': 'g/mol', 'description': 'Sum of atomic weight × atom count over all elements. Unit: g/mol.'}, 'molecular_mass_da': {'type': 'number', 'x-unit': 'Da', 'description': 'Same value expressed in daltons (unified atomic mass units) per molecule or formula unit. Unit: Da.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_mortgage_payment
Mortgage Payment Calculator
Use this when you want the monthly cost of buying a home with a fixed-rate mortgage, including escrowed taxes and insurance, or the total interest over the loan. 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 loan is adjustable-rate or interest-only, or you only need the payment on a plain loan amount (use loan-payment). What it computes: Computes the monthly principal-and-interest payment of a fixed-rate mortgage from home price, down payment, rate and term, then adds property tax, home insurance and HOA dues to give the full monthly housing payment and lifetime interest. Inputs: home_price (number); down_payment (number, optional); annual_rate_percent (number, %); term_years (number, years, optional); annual_property_tax (number, optional); annual_home_insurance (number, optional); monthly_hoa (number, optional). Complete JSON argument examples: {"home_price":250000,"down_payment":50000,"annual_rate_percent":6,"term_years":30,"annual_property_tax":3000,"annual_home_insurance":1200} | {"home_price":400000,"down_payment":80000,"annual_rate_percent":6.5,"term_years":30} Outputs: loan_amount, loan_to_value_percent [%], monthly_principal_and_interest, monthly_property_tax, monthly_insurance, monthly_hoa_fee, total_monthly_payment, number_of_payments, total_interest, total_of_payments, payoff_summary. Formula: loan_amount = home_price − down_payment; i = annual_rate_percent / 1200; n = 12·term_years; P&I = loan_amount × i / (1 − (1 + i)^−n) (loan_amount / n if i = 0); total_monthly_payment = P&I + annual_property_tax/12 + annual_home_insurance/12 + monthly_hoa. Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/mortgage-payment with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/finance/mortgage-payment.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'home_price': 250000, 'term_years': 30, 'down_payment': 50000, 'annual_property_tax': 3000, 'annual_rate_percent': 6, 'annual_home_insurance': 1200}, {'home_price': 400000, 'term_years': 30, 'down_payment': 80000, 'annual_rate_percent': 6.5}], 'required': ['home_price', 'annual_rate_percent'], 'properties': {'home_price': {'type': 'number', 'maximum': 1000000000000, 'examples': [250000], 'description': 'Purchase price of the property.', 'exclusiveMinimum': 0}, 'term_years': {'type': 'number', 'x-unit': 'years', 'default': 30, 'maximum': 50, 'examples': [30], 'description': 'Loan term in years (30 and 15 are the common US terms). Unit: years.', 'exclusiveMinimum': 0}, 'monthly_hoa': {'type': 'number', 'default': 0, 'maximum': 10000000, 'minimum': 0, 'examples': [0], 'description': 'Monthly homeowners-association or condo fee.'}, 'down_payment': {'type': 'number', 'default': 0, 'maximum': 1000000000000, 'minimum': 0, 'examples': [50000], 'description': 'Cash paid up front; loan_amount = home_price − down_payment. For 20 % of a 250,000 home enter 50000.'}, 'annual_property_tax': {'type': 'number', 'default': 0, 'maximum': 1000000000, 'minimum': 0, 'examples': [3000], 'description': 'Yearly property tax; one twelfth is added to the monthly payment.'}, 'annual_rate_percent': {'type': 'number', 'x-unit': '%', 'maximum': 100, 'minimum': 0, 'examples': [6], 'description': 'Fixed note rate in percent; the monthly rate is this / 12. Unit: %.'}, 'annual_home_insurance': {'type': 'number', 'default': 0, 'maximum': 1000000000, 'minimum': 0, 'examples': [1200], 'description': 'Yearly homeowners insurance premium; one twelfth is added monthly.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'loan_amount': {'type': 'number', 'description': 'home_price − down_payment.'}, 'payoff_summary': {'type': 'string', 'description': 'Plain-language summary of the loan schedule.'}, 'total_interest': {'type': 'number', 'description': 'Interest paid over the full term.'}, 'monthly_hoa_fee': {'type': 'number', 'description': 'monthly_hoa as entered.'}, 'monthly_insurance': {'type': 'number', 'description': 'annual_home_insurance / 12.'}, 'total_of_payments': {'type': 'number', 'description': 'monthly_principal_and_interest × number_of_payments.'}, 'number_of_payments': {'type': 'integer', 'description': '12 × term_years.'}, 'monthly_property_tax': {'type': 'number', 'description': 'annual_property_tax / 12.'}, 'loan_to_value_percent': {'type': 'number', 'x-unit': '%', 'description': 'loan_amount / home_price × 100; above 80 % usually requires mortgage insurance (PMI). Unit: %.'}, 'total_monthly_payment': {'type': 'number', 'description': 'Principal & interest + tax + insurance + HOA (PITI + HOA).'}, 'monthly_principal_and_interest': {'type': 'number', 'description': 'Level monthly amortizing payment on the loan.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_percentage
Percentage Calculator
Use this when you need a percentage of a value, the percentage one value represents of another, or the base value that a part and its percentage imply. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need the percentage change between two values (use percentage-change), a price after a percentage discount (use discount) or a tax amount (use sales-tax). What it computes: Solves the three basic percentage questions (a percentage of a number, what percentage one number is of another, and the whole behind a known part and percentage). Always returns the part, the whole and the percent. Inputs: mode (enum, optional); x (number); y (number). Complete JSON argument examples: {"mode":"percent_of","x":15,"y":240} | {"mode":"is_what_percent","x":30,"y":120} Outputs: result, sentence, part, whole, percent [%]. Formula: percent_of: result = x / 100 × y. is_what_percent: result = x / y × 100. percent_of_what: result = x / (y / 100). In every mode part = percent × whole / 100. Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/percentage with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/math/percentage.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'x': 15, 'y': 240, 'mode': 'percent_of'}, {'x': 30, 'y': 120, 'mode': 'is_what_percent'}], 'required': ['x', 'y'], 'properties': {'x': {'type': 'number', 'examples': [15], 'description': 'First number: the percent (percent_of) or the part (is_what_percent, percent_of_what). Percents are plain numbers, 15 means 15%.'}, 'y': {'type': 'number', 'examples': [240], 'description': 'Second number: the whole (percent_of, is_what_percent) or the percent (percent_of_what).'}, 'mode': {'enum': ['percent_of', 'is_what_percent', 'percent_of_what'], 'type': 'string', 'default': 'percent_of', 'examples': ['percent_of'], 'description': 'Which percentage question to solve; x and y take the meaning shown in the label of the chosen mode.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'part': {'type': 'number', 'description': 'The part: percent × whole / 100.'}, 'whole': {'type': 'number', 'description': 'The base value that corresponds to 100%.'}, 'result': {'type': 'number', 'description': 'The unknown quantity: the part (percent_of), the percent in % (is_what_percent) or the whole (percent_of_what).'}, 'percent': {'type': 'number', 'x-unit': '%', 'description': 'The percentage: part / whole × 100. Unit: %.'}, 'sentence': {'type': 'string', 'description': "The solved statement, e.g. '15% of 240 is 36.'"}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_percentage_change
Percentage Change Calculator
Use this when you have a starting and an ending value and need the percentage increase or decrease, or a symmetric percent difference between two comparable values. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a percentage of a number (use percentage), an annualised growth rate over several years (use cagr) or an investment return (use roi). What it computes: Computes the relative change from an old value to a new value as a percentage, the signed absolute change, the new/old ratio and the symmetric percent difference. Inputs: old_value (number); new_value (number). Complete JSON argument examples: {"old_value":50,"new_value":65} | {"old_value":80,"new_value":60} Outputs: change_percent [%], absolute_change, direction, ratio, percent_difference [%]. Formula: change_percent = (new_value − old_value) / |old_value| × 100; percent_difference = |new_value − old_value| / ((|new_value| + |old_value|) / 2) × 100 Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/percentage-change with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/math/percentage-change.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'new_value': 65, 'old_value': 50}, {'new_value': 60, 'old_value': 80}], 'required': ['old_value', 'new_value'], 'properties': {'new_value': {'type': 'number', 'examples': [65], 'description': 'Ending value.'}, 'old_value': {'type': 'number', 'examples': [50], 'description': 'Starting (reference) value. Must not be 0.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'ratio': {'type': 'number', 'description': 'new_value / old_value (1.3 means a 30% increase).'}, 'direction': {'type': 'string', 'description': "'increase', 'decrease' or 'no change'."}, 'change_percent': {'type': 'number', 'x-unit': '%', 'description': '(new − old) / |old| × 100; negative for a decrease. Unit: %.'}, 'absolute_change': {'type': 'number', 'description': 'new_value − old_value (signed).'}, 'percent_difference': {'type': 'number', 'x-unit': '%', 'description': "|new − old| / ((|new| + |old|) / 2) × 100; the same whichever value is called 'old'. Unit: %."}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_running_pace
Running Pace Calculator
Use this when you know a distance and the time it took (or a target time) and need the pace, the equivalent speed, or the time that pace gives over standard race distances. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you want a realistic prediction of a longer race from a shorter one (pace slows with distance; use race-time-predictor), or you only need to convert between pace and speed units (use pace-converter). What it computes: Computes running pace in min/km and min/mile and speed in km/h and mph from a distance and elapsed time, and projects the finish time for 5 km, 10 km, half marathon and marathon at that constant pace. Inputs: distance (number); distance_unit (enum, optional); time (string). Complete JSON argument examples: {"distance":10,"distance_unit":"km","time":"50:00"} | {"distance":5,"distance_unit":"mi","time":"45:00"} Outputs: pace_min_per_km [min:sec/km], pace_min_per_mile [min:sec/mi], pace_seconds_per_km [s/km], speed_kmh [km/h], speed_mph [mph], distance_km [km], time_5k [h:mm:ss], time_10k [h:mm:ss], time_half_marathon [h:mm:ss], time_marathon [h:mm:ss]. Formula: pace_s_per_km = time_seconds / distance_km; pace_s_per_mile = pace_s_per_km × 1.609344; speed_kmh = 3600 / pace_s_per_km; speed_mph = speed_kmh / 1.609344; time(D) = pace_s_per_km × D for D = 5, 10, 21.0975, 42.195 km Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/running-pace with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/fitness/running-pace.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'time': '50:00', 'distance': 10, 'distance_unit': 'km'}, {'time': '45:00', 'distance': 5, 'distance_unit': 'mi'}], 'required': ['distance', 'time'], 'properties': {'time': {'type': 'string', 'examples': ['50:00'], 'description': 'Elapsed time as h:mm:ss (1:45:00), mm:ss (50:00) or plain minutes (50).'}, 'distance': {'type': 'number', 'maximum': 5000, 'examples': [10], 'description': 'Distance covered, in the unit given by distance_unit.', 'exclusiveMinimum': 0}, 'distance_unit': {'enum': ['km', 'mi'], 'type': 'string', 'default': 'km', 'examples': ['km'], 'description': 'Unit of the distance input.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'time_5k': {'type': 'string', 'x-unit': 'h:mm:ss', 'description': 'Time to run 5 km at exactly this pace. Unit: h:mm:ss.'}, 'time_10k': {'type': 'string', 'x-unit': 'h:mm:ss', 'description': 'Time to run 10 km at exactly this pace. Unit: h:mm:ss.'}, 'speed_kmh': {'type': 'number', 'x-unit': 'km/h', 'description': 'Average speed in kilometres per hour. Unit: km/h.'}, 'speed_mph': {'type': 'number', 'x-unit': 'mph', 'description': 'Average speed in miles per hour. Unit: mph.'}, 'distance_km': {'type': 'number', 'x-unit': 'km', 'description': 'Input distance converted to kilometres. Unit: km.'}, 'time_marathon': {'type': 'string', 'x-unit': 'h:mm:ss', 'description': 'Time for 42.195 km at exactly this pace. Unit: h:mm:ss.'}, 'pace_min_per_km': {'type': 'string', 'x-unit': 'min:sec/km', 'description': 'Minutes and seconds per kilometre. Unit: min:sec/km.'}, 'pace_min_per_mile': {'type': 'string', 'x-unit': 'min:sec/mi', 'description': 'Minutes and seconds per mile. Unit: min:sec/mi.'}, 'time_half_marathon': {'type': 'string', 'x-unit': 'h:mm:ss', 'description': 'Time for 21.0975 km at exactly this pace. Unit: h:mm:ss.'}, 'pace_seconds_per_km': {'type': 'number', 'x-unit': 's/km', 'description': 'Same pace as a plain number of seconds per kilometre. Unit: s/km.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_subnet
IP Subnet Calculator
Use this when you need to know which subnet an IPv4 address belongs to, the host range and count of a /prefix, or the mask equivalent of a prefix length. 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 address is IPv6, you want to split a block into several subnets (VLSM planning), or you only need a number in binary or hex (use base-converter). What it computes: Computes the network and broadcast addresses, subnet and wildcard masks, first and last host, usable and total addresses, address class and RFC 1918 private status for an IPv4 address in CIDR notation or with a dotted subnet mask, using 32-bit unsigned arithmetic. Inputs: cidr (string). Complete JSON argument examples: {"cidr":"192.168.1.10/26"} | {"cidr":"10.0.0.0 255.0.0.0"} Outputs: ip_address, cidr_notation, network_address, broadcast_address, subnet_mask, wildcard_mask, prefix_length [bits], host_bits [bits], first_host, last_host, usable_hosts, total_addresses, ip_class, is_private, address_scope, binary_mask, binary_address, ip_integer. Formula: mask = 2^32 − 2^(32 − prefix); network = ip AND mask; broadcast = network OR NOT mask; total = 2^(32 − prefix); usable = total − 2 (prefix ≤ 30), 2 (prefix 31), 1 (prefix 32) Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/subnet-calculator with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/developer/subnet-calculator.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'cidr': '192.168.1.10/26'}, {'cidr': '10.0.0.0 255.0.0.0'}], 'required': ['cidr'], 'properties': {'cidr': {'type': 'string', 'examples': ['192.168.1.10/26'], 'maxLength': 40, 'description': 'IPv4 address followed by /prefix (0–32) or by a dotted subnet mask separated by a space or slash, e.g. 192.168.1.10/26 or 192.168.1.10 255.255.255.192.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'ip_class': {'type': 'string', 'description': 'Historical classful class from the first octet: A (0–127), B (128–191), C (192–223), D (224–239, multicast), E (240–255, reserved).'}, 'host_bits': {'type': 'integer', 'x-unit': 'bits', 'description': '32 − prefix_length. Unit: bits.'}, 'last_host': {'type': 'string', 'description': 'broadcast − 1 (for /31 the second address, for /32 the address itself).'}, 'first_host': {'type': 'string', 'description': 'network + 1 (for /31 and /32 the network address itself, RFC 3021).'}, 'ip_address': {'type': 'string', 'description': 'The address as parsed (dotted quad).'}, 'ip_integer': {'type': 'integer', 'description': 'The address as an unsigned 32-bit integer (a·2^24 + b·2^16 + c·2^8 + d).'}, 'is_private': {'type': 'boolean', 'description': 'true when the address lies in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16; loopback and link-local blocks are reported separately in address_scope.'}, 'binary_mask': {'type': 'string', 'description': 'Subnet mask as four 8-bit groups.'}, 'subnet_mask': {'type': 'string', 'description': 'Dotted-decimal mask with prefix_length leading one bits.'}, 'usable_hosts': {'type': 'integer', 'description': '2^host_bits − 2, except 2 for /31 (RFC 3021 point-to-point) and 1 for /32.'}, 'address_scope': {'type': 'string', 'description': 'Special-use block the address belongs to (RFC 1918 private, loopback, link-local, CGNAT, multicast, reserved) or public.'}, 'cidr_notation': {'type': 'string', 'description': 'Network address with prefix length, e.g. 192.168.1.0/26.'}, 'prefix_length': {'type': 'integer', 'x-unit': 'bits', 'description': 'Number of network bits (the /n). Unit: bits.'}, 'wildcard_mask': {'type': 'string', 'description': 'Bitwise complement of the subnet mask (used in Cisco ACLs).'}, 'binary_address': {'type': 'string', 'description': 'The IP address as four 8-bit groups.'}, 'network_address': {'type': 'string', 'description': 'ip AND mask: the first address of the block.'}, 'total_addresses': {'type': 'integer', 'description': '2^host_bits including network and broadcast.'}, 'broadcast_address': {'type': 'string', 'description': 'network OR wildcard: the last address of the block (equals the address itself for /32).'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_tdee
TDEE Calculator
Use this when you need daily maintenance calories for an adult, or calorie targets for a mild/standard deficit or surplus. 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 person is a child, pregnant or breastfeeding, or you only need the resting rate (use bmr). What it computes: Estimates total daily energy expenditure from Mifflin-St Jeor BMR and an activity level, and derives calorie targets for maintaining, losing or gaining weight. Inputs: sex (enum); weight_kg (number, kg); height_cm (number, cm); age_years (number, years); activity_level (enum, optional). Complete JSON argument examples: {"sex":"male","weight_kg":70,"height_cm":175,"age_years":30,"activity_level":"moderate"} Outputs: bmr_kcal_per_day [kcal/day], activity_multiplier, tdee_kcal_per_day [kcal/day], mild_loss_kcal_per_day [kcal/day], loss_kcal_per_day [kcal/day], mild_gain_kcal_per_day [kcal/day], gain_kcal_per_day [kcal/day]. Formula: TDEE = BMR(Mifflin-St Jeor) × activity_multiplier; targets = TDEE ± 250 or ± 500 kcal/day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/tdee with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/health/tdee.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'sex': 'male', 'age_years': 30, 'height_cm': 175, 'weight_kg': 70, 'activity_level': 'moderate'}], 'required': ['sex', 'weight_kg', 'height_cm', 'age_years'], 'properties': {'sex': {'enum': ['male', 'female'], 'type': 'string', 'examples': ['male'], 'description': 'Biological sex used to select the formula coefficients.'}, 'age_years': {'type': 'number', 'x-unit': 'years', 'maximum': 120, 'minimum': 18, 'examples': [30], 'description': 'Age in years. Unit: years.'}, 'height_cm': {'type': 'number', 'x-unit': 'cm', 'maximum': 300, 'minimum': 50, 'examples': [175], 'description': 'Height in centimetres. Unit: cm.'}, 'weight_kg': {'type': 'number', 'x-unit': 'kg', 'maximum': 700, 'examples': [70], 'description': 'Body weight in kilograms. Unit: kg.', 'exclusiveMinimum': 0}, 'activity_level': {'enum': ['sedentary', 'light', 'moderate', 'very_active', 'extra_active'], 'type': 'string', 'default': 'moderate', 'examples': ['moderate'], 'description': 'Weekly exercise level; maps to the standard activity multipliers 1.2 / 1.375 / 1.55 / 1.725 / 1.9.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'bmr_kcal_per_day': {'type': 'number', 'x-unit': 'kcal/day', 'description': 'Mifflin-St Jeor basal metabolic rate. Unit: kcal/day.'}, 'gain_kcal_per_day': {'type': 'number', 'x-unit': 'kcal/day', 'description': 'Approximately 0.5 kg/week gain. Unit: kcal/day.'}, 'loss_kcal_per_day': {'type': 'number', 'x-unit': 'kcal/day', 'description': 'Approximately 0.5 kg/week loss. Unit: kcal/day.'}, 'tdee_kcal_per_day': {'type': 'number', 'x-unit': 'kcal/day', 'description': 'Calories to maintain current weight. Unit: kcal/day.'}, 'activity_multiplier': {'type': 'number', 'description': 'Factor applied to BMR.'}, 'mild_gain_kcal_per_day': {'type': 'number', 'x-unit': 'kcal/day', 'description': 'Approximately 0.25 kg/week gain. Unit: kcal/day.'}, 'mild_loss_kcal_per_day': {'type': 'number', 'x-unit': 'kcal/day', 'description': 'Approximately 0.25 kg/week loss. Unit: kcal/day.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_tip
Tip Calculator
Use this when you need to add a gratuity to a restaurant, delivery or service bill and optionally divide the total among several people. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when people pay for different items or unequal shares (use bill-split), or you need to add sales tax rather than a tip (use sales-tax). What it computes: Computes the tip from a bill amount and tip percentage, the total including tip, and the per-person share when the bill is split evenly. Inputs: bill_amount (number); tip_percent (number, %, optional); split_between (integer, optional). Complete JSON argument examples: {"bill_amount":85.5,"tip_percent":18,"split_between":3} | {"bill_amount":42,"tip_percent":20} Outputs: tip_amount, total_amount, total_per_person, tip_per_person, bill_per_person. Formula: tip_amount = bill_amount × tip_percent / 100; total_amount = bill_amount + tip_amount; per person = value / split_between Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/tip with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/finance/tip.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'bill_amount': 85.5, 'tip_percent': 18, 'split_between': 3}, {'bill_amount': 42, 'tip_percent': 20}], 'required': ['bill_amount'], 'properties': {'bill_amount': {'type': 'number', 'maximum': 10000000, 'minimum': 0, 'examples': [85.5], 'description': 'Amount on the bill before tip (pre- or post-tax, as you prefer to tip).'}, 'tip_percent': {'type': 'number', 'x-unit': '%', 'default': 15, 'maximum': 100, 'minimum': 0, 'examples': [18], 'description': 'Gratuity as a percent of bill_amount. US restaurant custom is 15–20 %. Unit: %.'}, 'split_between': {'type': 'integer', 'default': 1, 'maximum': 1000, 'minimum': 1, 'examples': [3], 'description': 'How many people share the bill equally.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'tip_amount': {'type': 'number', 'description': 'bill_amount × tip_percent / 100.'}, 'total_amount': {'type': 'number', 'description': 'bill_amount + tip_amount.'}, 'tip_per_person': {'type': 'number', 'description': 'tip_amount / split_between.'}, 'bill_per_person': {'type': 'number', 'description': 'bill_amount / split_between.'}, 'total_per_person': {'type': 'number', 'description': 'total_amount / split_between.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
calculate_t_test
T-Test Calculator
Use this when you want to test whether a sample mean differs from a hypothesised value, whether two independent groups have different means, or whether paired before/after measurements changed. 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 data are proportions or counts (use proportion-z-test or chi-square-test), you have three or more groups (ANOVA), or you already have t and df and only need the p-value (use p-value). What it computes: Runs a one-sample, Welch two-sample (unequal variances) or paired Student t-test from raw samples or summary statistics (mean, SD, n), returning t, degrees of freedom, two- and one-sided p-values, the confidence interval and the decision at the chosen alpha. Example user requests: Run a one-sample t-test for [102, 98, 105, 101, 104] against a mean of 100. | Compare two independent samples with Welch's t-test from their means, sample SDs and sample sizes. | Run a paired t-test on these before and after measurements in matching order. Inputs: mode (enum, optional); sample_a (number_list, optional); sample_b (number_list, optional); mean_a (number, optional); sd_a (number, optional); n_a (integer, optional); mean_b (number, optional); sd_b (number, optional); n_b (integer, optional); hypothesized_mean (number, optional); alpha (number, optional). Valid input combinations: one_sample: sample_a, or all of mean_a + sd_a + n_a. two_sample (also the default when mode is omitted): one complete raw-or-summary input for A and one for B. paired: both sample_a + sample_b, or paired-difference summary mean_a + sd_a + n_a. Do not mix a raw sample with its summary fields. Complete JSON argument examples: {"mode":"two_sample","sample_a":[5.1,4.9,5.6,5.8,6],"sample_b":[4.2,4.8,4.4,4.6,4.5]} | {"mode":"two_sample","mean_a":5.48,"sd_a":0.47117,"n_a":5,"mean_b":4.5,"sd_b":0.23452,"n_b":5} | {"mode":"one_sample","sample_a":[102,98,105,101,104],"hypothesized_mean":100} | {"mode":"paired","sample_a":[1.9,0.8,1.1,0.1,-0.1,4.4,5.5,1.6,4.6,3.4],"sample_b":[0.7,-1.6,-0.2,-1.2,-0.1,3.4,3.7,0.8,0,2]} | {"mode":"paired","mean_a":1.58,"sd_a":1.23042,"n_a":10} Outputs: test, mean_a, mean_b, mean_difference, standard_error, t_statistic, degrees_of_freedom, p_value_two_sided, p_value_one_sided, t_critical, ci_lower, ci_upper, significant, decision. Formula: one_sample: t = (x̄ − μ0) / (s / √n), df = n − 1. paired: same on the differences d = a − b. two_sample (Welch): t = (x̄a − x̄b − μ0) / √(sa²/na + sb²/nb), df = (sa²/na + sb²/nb)² / ((sa²/na)²/(na − 1) + (sb²/nb)²/(nb − 1)). p = P(|T_df| ≥ |t|); CI = estimate ± t(1 − alpha/2, df) × SE Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/t-test with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/statistics/t-test.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'allOf': [{'if': {'required': ['mode'], 'properties': {'mode': {'const': 'one_sample'}}}, 'then': {'oneOf': [{'not': {'anyOf': [{'required': ['mean_a']}, {'required': ['sd_a']}, {'required': ['n_a']}]}, 'required': ['sample_a']}, {'not': {'required': ['sample_a']}, 'required': ['mean_a', 'sd_a', 'n_a']}]}}, {'if': {'required': ['mode'], 'properties': {'mode': {'const': 'paired'}}}, 'then': {'oneOf': [{'not': {'anyOf': [{'required': ['mean_a']}, {'required': ['sd_a']}, {'required': ['n_a']}]}, 'required': ['sample_a', 'sample_b']}, {'not': {'anyOf': [{'required': ['sample_a']}, {'required': ['sample_b']}]}, 'required': ['mean_a', 'sd_a', 'n_a']}]}}, {'if': {'anyOf': [{'required': ['mode'], 'properties': {'mode': {'const': 'two_sample'}}}, {'not': {'required': ['mode']}}]}, 'then': {'allOf': [{'oneOf': [{'not': {'anyOf': [{'required': ['mean_a']}, {'required': ['sd_a']}, {'required': ['n_a']}]}, 'required': ['sample_a']}, {'not': {'required': ['sample_a']}, 'required': ['mean_a', 'sd_a', 'n_a']}]}, {'oneOf': [{'not': {'anyOf': [{'required': ['mean_b']}, {'required': ['sd_b']}, {'required': ['n_b']}]}, 'required': ['sample_b']}, {'not': {'required': ['sample_b']}, 'required': ['mean_b', 'sd_b', 'n_b']}]}]}}], 'examples': [{'mode': 'two_sample', 'sample_a': [5.1, 4.9, 5.6, 5.8, 6], 'sample_b': [4.2, 4.8, 4.4, 4.6, 4.5]}, {'n_a': 5, 'n_b': 5, 'mode': 'two_sample', 'sd_a': 0.47117, 'sd_b': 0.23452, 'mean_a': 5.48, 'mean_b': 4.5}, {'mode': 'one_sample', 'sample_a': [102, 98, 105, 101, 104], 'hypothesized_mean': 100}, {'mode': 'paired', 'sample_a': [1.9, 0.8, 1.1, 0.1, -0.1, 4.4, 5.5, 1.6, 4.6, 3.4], 'sample_b': [0.7, -1.6, -0.2, -1.2, -0.1, 3.4, 3.7, 0.8, 0, 2]}, {'n_a': 10, 'mode': 'paired', 'sd_a': 1.23042, 'mean_a': 1.58}], 'properties': {'n_a': {'type': 'integer', 'minimum': 2, 'description': 'Number of observations in A, or number of pairs.'}, 'n_b': {'type': 'integer', 'minimum': 2, 'description': 'Number of observations in B.'}, 'mode': {'enum': ['one_sample', 'two_sample', 'paired'], 'type': 'string', 'default': 'two_sample', 'examples': ['two_sample'], 'description': 'Which t-test to run.'}, 'sd_a': {'type': 'number', 'description': 'Sample standard deviation (n − 1) of A, or of the paired differences.', 'exclusiveMinimum': 0}, 'sd_b': {'type': 'number', 'description': 'Sample standard deviation (n − 1) of B.', 'exclusiveMinimum': 0}, 'alpha': {'type': 'number', 'default': 0.05, 'examples': [0.05], 'description': 'Significance level as a probability (0.05 = 5 %), not a percentage. Confidence intervals and critical values use level 1 − alpha.', 'exclusiveMaximum': 1, 'exclusiveMinimum': 0}, 'mean_a': {'type': 'number', 'description': 'Summary alternative to sample_a: sample mean of A (in paired mode: mean of the differences a − b).'}, 'mean_b': {'type': 'number', 'description': 'Summary alternative to sample_b (two_sample only): sample mean of B.'}, 'sample_a': {'type': 'array', 'items': {'type': 'number'}, 'examples': [[5.1, 4.9, 5.6, 5.8, 6]], 'maxItems': 10000, 'minItems': 2, 'description': 'Raw observations of the first (or only) sample. Alternatively give mean_a, sd_a and n_a.'}, 'sample_b': {'type': 'array', 'items': {'type': 'number'}, 'examples': [[4.2, 4.8, 4.4, 4.6, 4.5]], 'maxItems': 10000, 'minItems': 2, 'description': 'Raw observations of the second sample (two_sample) or the paired partner values in the same order (paired). Alternatively give mean_b, sd_b and n_b.'}, 'hypothesized_mean': {'type': 'number', 'default': 0, 'examples': [0], 'description': 'Null-hypothesis value: the population mean (one_sample) or the mean difference (two_sample, paired). Usually 0 for differences.'}}, 'description': 'one_sample: sample_a, or all of mean_a + sd_a + n_a. two_sample (also the default when mode is omitted): one complete raw-or-summary input for A and one for B. paired: both sample_a + sample_b, or paired-difference summary mean_a + sd_a + n_a. Do not mix a raw sample with its summary fields.', 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'test': {'type': 'string', 'description': 'Which t-test was run and on how many observations.'}, 'mean_a': {'type': 'number', 'description': 'Sample mean of A (paired mode: mean of the differences).'}, 'mean_b': {'type': 'number', 'description': 'Sample mean of B (two_sample only).'}, 'ci_lower': {'type': 'number', 'description': 'Lower limit of the 100·(1 − alpha) % confidence interval for the mean (one_sample) or the mean difference.'}, 'ci_upper': {'type': 'number', 'description': 'Upper limit of the same interval.'}, 'decision': {'type': 'string', 'description': 'Plain-language conclusion of the two-sided test.'}, 't_critical': {'type': 'number', 'description': 't quantile at 1 − alpha/2 for the degrees of freedom.'}, 'significant': {'type': 'boolean', 'description': 'true when p_value_two_sided < alpha.'}, 't_statistic': {'type': 'number', 'description': '(estimated difference − hypothesized_mean) / standard_error.'}, 'standard_error': {'type': 'number', 'description': 'Standard error of the estimated difference.'}, 'mean_difference': {'type': 'number', 'description': 'mean_a − hypothesized_mean (one_sample), mean_a − mean_b (two_sample) or mean of a − b (paired).'}, 'p_value_one_sided': {'type': 'number', 'description': 'Half the two-sided p: for the alternative in the direction of the observed difference.'}, 'p_value_two_sided': {'type': 'number', 'description': 'P(|T| ≥ |t|) under H0.'}, 'degrees_of_freedom': {'type': 'number', 'description': 'n − 1 for one-sample and paired tests; Welch–Satterthwaite approximation (fractional) for two samples.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
cast_plum_blossom_hexagram
Plum Blossom Numerology (梅花易数)
Use this when you need a Plum Blossom hexagram cast for a moment or from numbers, with the upper/lower trigram arithmetic, the moving line and the 体/用 five-element reading laid out step by step. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you already have six lines from coins or yarrow (use liuyao for a 六爻 chart or hexagram-change for plain line changes), or you only want a hexagram's text and structure (use hexagram-lookup). What it computes: Casts an I Ching hexagram by the Plum Blossom (Meihua Yishu) method of Shao Yong from the lunar year, month, day and hour (年月日时起卦) or from two or three given numbers, then derives the moving line, changed hexagram (之卦), nuclear hexagram (互卦), the 体 (Ti, self) and 用 (Yong, matter) trigrams and their five-element relations. Inputs: method (enum, optional); date (date, optional); time (string, optional); number_1 (integer, optional); number_2 (integer, optional); number_3 (integer, optional); add_hour_to_moving_line (boolean, optional). Valid input combinations: time_method needs date/time only; two_numbers requires number_1 + number_2; three_numbers requires number_1 + number_2 + number_3. Complete JSON argument examples: {"method":"time_method","date":"2026-09-24","time":"14:30"} | {"method":"two_numbers","number_1":3,"number_2":7,"date":"2026-09-24","time":"12:00"} Outputs: method_used, lunar_date, upper_trigram, lower_trigram, original_hexagram, original_lines, moving_line, moving_line_name, changed_hexagram, nuclear_hexagram, ti_trigram, yong_trigram, ti_element, yong_element, yong_ti_relation, nuclear_relations, changed_relation, ti_seasonal_strength, calculation_trace, reading_hint, disclaimer. Formula: Time method: year = branch number of the lunar year (子 = 1 … 亥 = 12), month = lunar month, day = lunar day, hour = 时辰 number (子 = 1 … 亥 = 12); upper = (year + month + day) mod 8, lower = (year + month + day + hour) mod 8, moving line = (year + month + day + hour) mod 6 (remainder 0 → 8 or 6); trigram numbers in earlier-heaven order 乾1 兑2 离3 震4 巽5 坎6 艮7 坤8. Two numbers: upper = number_1 mod 8, lower = number_2 mod 8, moving = (number_1 + number_2 [+ hour]) mod 6. Three numbers: moving = number_3 mod 6. 体 = trigram without the moving line, 用 = trigram with it; relations by the five-element generating (木→火→土→金→水) and controlling (木→土→水→火→金) cycles. Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/meihua-yishu with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/yijing/meihua-yishu.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'anyOf': [{'properties': {'method': {'const': 'time_method'}}}, {'required': ['method', 'number_1', 'number_2'], 'properties': {'method': {'const': 'two_numbers'}}}, {'required': ['method', 'number_1', 'number_2', 'number_3'], 'properties': {'method': {'const': 'three_numbers'}}}], 'examples': [{'date': '2026-09-24', 'time': '14:30', 'method': 'time_method'}, {'date': '2026-09-24', 'time': '12:00', 'method': 'two_numbers', 'number_1': 3, 'number_2': 7}], 'properties': {'date': {'type': 'string', 'format': 'date', 'default': 'today', 'examples': ['2026-09-24'], 'description': 'Civil date in China Standard Time (UTC+8), 1900–2100; defaults to today.'}, 'time': {'type': 'string', 'default': '12:00', 'examples': ['14:30'], 'description': 'Clock time HH:MM (China Standard Time) that fixes the 时辰 (double hour) for the time method or the optional hour addition.'}, 'method': {'enum': ['time_method', 'two_numbers', 'three_numbers'], 'type': 'string', 'default': 'time_method', 'examples': ['time_method'], 'description': 'How the trigrams and the moving line are derived.'}, 'number_1': {'type': 'integer', 'maximum': 1000000000, 'minimum': 1, 'examples': [3], 'description': 'First number for the number methods; mod 8 gives the upper trigram (0 counts as 8).'}, 'number_2': {'type': 'integer', 'maximum': 1000000000, 'minimum': 1, 'examples': [7], 'description': 'Second number for the number methods; mod 8 gives the lower trigram.'}, 'number_3': {'type': 'integer', 'maximum': 1000000000, 'minimum': 1, 'examples': [4], 'description': 'Third number for the three-number method; mod 6 gives the moving line (0 counts as 6).'}, 'add_hour_to_moving_line': {'type': 'boolean', 'default': False, 'examples': [False], 'description': 'Two-number method only: some schools add the 时辰 number (子 = 1 … 亥 = 12) of the given time before taking mod 6.'}}, 'description': 'time_method needs date/time only; two_numbers requires number_1 + number_2; three_numbers requires number_1 + number_2 + number_3.', 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'disclaimer': {'type': 'string', 'description': 'Cultural framing of the result.'}, 'lunar_date': {'type': 'string', 'description': 'Chinese lunar date of the given civil date with the sexagenary year.'}, 'ti_element': {'type': 'string', 'description': 'Five-element (五行) of the 体 trigram.'}, 'ti_trigram': {'type': 'string', 'description': 'The trigram without the moving line, representing the querent.'}, 'method_used': {'type': 'string', 'description': 'Casting method applied.'}, 'moving_line': {'type': 'integer', 'description': 'Position of the moving line, 1 = bottom.'}, 'reading_hint': {'type': 'string', 'description': 'Which classical texts to read for this cast.'}, 'yong_element': {'type': 'string', 'description': 'Five-element of the 用 trigram.'}, 'yong_trigram': {'type': 'string', 'description': 'The trigram containing the moving line, representing the matter asked about.'}, 'lower_trigram': {'type': 'string', 'description': 'Character, symbol, pinyin, nature and element.'}, 'upper_trigram': {'type': 'string', 'description': 'Character, symbol, pinyin, nature and element.'}, 'original_lines': {'type': 'string', 'description': 'Six digits bottom→top, 1 = yang, 0 = yin.'}, 'changed_hexagram': {'type': 'string', 'description': 'Hexagram obtained by changing the moving line.'}, 'changed_relation': {'type': 'string', 'description': "The changed hexagram's 用-side trigram against 体 (the tendency of the outcome)."}, 'moving_line_name': {'type': 'string', 'description': 'Traditional line name such as 初九 or 六二 with pinyin.'}, 'nuclear_hexagram': {'type': 'string', 'description': 'Hexagram formed by lines 2–4 (lower) and 3–5 (upper).'}, 'yong_ti_relation': {'type': 'string', 'description': '生克 relation of 用 to 体: 用生体 favourable, 体生用 draining, 用克体 unfavourable, 体克用 favourable/minor gain, 比和 harmonious.'}, 'calculation_trace': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Every sum and remainder used.'}, 'nuclear_relations': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Each nuclear trigram treated as 用 against 体.'}, 'original_hexagram': {'type': 'string', 'description': 'King Wen number, full Chinese name, symbol, pinyin and Wilhelm title.'}, 'ti_seasonal_strength': {'type': 'string', 'description': '旺相休囚死 of the 体 element in the solar-term month of the date (spring Wood 旺, summer Fire 旺, autumn Metal 旺, winter Water 旺, 辰戌丑未 months Earth 旺).'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_ar_working_day
Argentina Working Day
Use this when you need a deterministic Argentina Argentina nationwide national holidays and published tourism non-working days for 2026 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when provincial, municipal, employer, bank, exchange, school, sector and religion-specific schedules are not generalized; regional one-off holidays are not included in this nationwide default. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Argentina: Argentina national holiday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-05-25"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/argentina-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/argentina-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-05-25'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Argentina coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'AR (Argentina).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Argentina nationwide national holidays and published tourism non-working days for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Argentina.gob.ar 2026 national calendar; religious/community non-working days are retained but are not universal closures'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Argentina'}, 'dataset_version': {'type': 'string', 'description': 'ar-national-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'argentina-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published 2026 transferred dates are included; future or Saturday/Sunday transfers are not inferred because authority selection remains explicit'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_at_working_day
Austria Working Day
Use this when you need a deterministic Austria Austria nationwide statutory public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when nationwide statutory holiday list only. Werktag is not uniform across Austrian legal domains; Saturday treatment, provincial patron days, school, bank, employer and sector schedules are not inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Austria: Austrian National Day. | Austria: Ordinary weekday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-10-26"} | {"date":"2026-10-27"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/austria-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/austria-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-10-26'}, {'date': '2026-10-27'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Austria coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'AT (Austria).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Austria nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': "Austria's nationwide statutory public holidays are included; provincial patron-saint days, school holidays and employer/sector closures are not inferred."}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Austria'}, 'dataset_version': {'type': 'string', 'description': 'at-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'austria-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No substitute-day closure is inferred for a holiday falling on Sunday; Austrian holiday-rest and Sunday-rest rules remain distinct from an invented next-working-day closure.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_australia_working_day
Australia State/Territory Public-Holiday Working Day
Use this when you need a state/territory-wide Australian public-holiday result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you do not know the state/territory, or you need a local council, regional, employer, exchange or industry calendar. What it computes: Checks an Australian date for a required state or territory using the Fair Work Ombudsman 2026-2027 public-holiday tables and explicit scope limitations. Example user requests: Is 2026-04-27 a working day in NSW? | Check 2027-12-27 in Victoria. Inputs: date (date); division (enum). Complete JSON argument examples: {"date":"2026-04-27","division":"nsw"} Outputs: territory, territory_name, division, division_name, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_observed, limited_or_part_day_events, calendar_scope, calendar_profile, source_quality, regional_policy, dataset_version. Formula: is_working_day = CLDR AU weekend baseline and no state/territory-wide full-day public holiday Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/australia-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/australia-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-04-27', 'division': 'nsw'}], 'required': ['date', 'division'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-04-27'], 'description': 'Gregorian date in 2026-2027.'}, 'division': {'enum': ['act', 'nsw', 'nt', 'qld', 'sa', 'tas', 'vic', 'wa'], 'type': 'string', 'examples': ['nsw'], 'description': 'Required Australian state/territory code: act, nsw, nt, qld, sa, tas, vic or wa.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or public holiday.'}, 'division': {'type': 'string', 'description': 'Normalized state/territory code.'}, 'territory': {'type': 'string', 'description': 'AU.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR baseline weekend.'}, 'division_name': {'type': 'string', 'description': 'State/territory name.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Full-day public holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'State/territory-wide full-day public holidays plus weekly baseline.'}, 'is_working_day': {'type': 'boolean', 'description': 'True when the date is not a weekend or included full-day state/territory public holiday.'}, 'source_quality': {'type': 'string', 'description': 'Official government sources with state/territory scope.'}, 'territory_name': {'type': 'string', 'description': 'Australia.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Fair Work package.'}, 'regional_policy': {'type': 'string', 'description': 'Limited-event policy.'}, 'calendar_profile': {'type': 'string', 'description': 'australia-fairwork-public-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'True when an additional/substitute date is explicitly listed.'}, 'limited_or_part_day_events': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Regional, partial-day, public-service-only or otherwise limited events that do not close the full division by default.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_bd_working_day
Bangladesh Working Day
Use this when you need a deterministic Bangladesh Bangladesh 2026 government public-office holiday schedule plus later election-period national closures result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when government/public-office schedule only; private-employer, bank, school, industrial-zone, essential-service, regional hill-district, optional-religious and later unlisted ad hoc schedules are not inferred. February 10 is not included because the reported later holiday was industrial-zone specific. Lunar dates may be revised by a later official notice. What it computes: Checks a date against the Friday-Saturday weekend baseline and exact 2026-2026 authority events. Example user requests: Bangladesh: Election-period special holiday. | Bangladesh: Eid-ul-Adha period. Inputs: date (date). Complete JSON argument examples: {"date":"2026-02-11"} | {"date":"2026-05-31"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Friday/Saturday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/bangladesh-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/bangladesh-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-02-11'}, {'date': '2026-05-31'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': "Gregorian date in Bangladesh's pinned 2026 government/public-office holiday coverage over a Friday-Saturday weekend."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'BD (Bangladesh).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Bangladesh 2026 government public-office holiday schedule plus later election-period national closures'}, 'holiday_policy': {'type': 'string', 'description': 'Bangladesh_2026_MOPA_public_office_schedule_plus_election_amendment'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Bangladesh'}, 'dataset_version': {'type': 'string', 'description': 'bd-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'bangladesh-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'government_notification_dates_only; lunar_dates_may_change; regional_optional_and_employer_rules_not_inferred'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_be_working_day
Belgium Working Day
Use this when you need a deterministic Belgium Belgium ten statutory private-sector public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when private-sector statutory core only; substitute dates, public-service/community/regional holidays, sector agreements, employer, school, bank and municipal schedules are not inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Belgium: Belgian National Day. | Belgium: Ordinary weekday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-07-21"} | {"date":"2026-07-22"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/belgium-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/belgium-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-07-21'}, {'date': '2026-07-22'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Belgium coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'BE (Belgium).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Belgium ten statutory private-sector public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'The ten statutory Belgian labour public holidays are included; the public-sector, community, regional, sector and employer calendars are not substituted into this national core.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Belgium'}, 'dataset_version': {'type': 'string', 'description': 'be-legal-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'belgium-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': "No substitute-day closure is inferred. If a statutory holiday coincides with Sunday or an undertaking's ordinary inactivity day, the substitute day is fixed by the competent joint committee or undertaking."}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_bg_working_day
Bulgaria Working Day
Use this when you need a deterministic Bulgaria Bulgaria 2026 nationwide rest-day facts with explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when bulgaria 2026 nationwide statutory holidays, observed non-attendance days and January 2 one-off rest over an explicitly selected Monday-Friday planning baseline. November 1 is education-only and does not add general rest. No personal, shift, school, employer, bank/exchange, optional religious-leave, payroll or legal-deadline schedule is computed. Future years and additional local/sector closures are unsupported. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Requires explicit mon_fri_planning; education-only holidays do not create general rest. Example user requests: Bulgaria: One-off euro transition rest, not statutory holiday. | Bulgaria: May 24 Sunday replacement. | Bulgaria: No nationwide school-holiday substitute. Inputs: date (date); work_schedule (enum). Complete JSON argument examples: {"date":"2026-01-02","work_schedule":"mon_fri_planning"} | {"date":"2026-05-25","work_schedule":"mon_fri_planning"} | {"date":"2026-11-02","work_schedule":"mon_fri_planning"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_observed_non_attendance_day, is_one_off_non_attendance_day, is_education_only_holiday, observed_for_dates, payroll_scope. Formula: planning_workday = weekday AND no nationwide statutory/observed/one-off rest event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/bulgaria-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/bulgaria-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-01-02', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-05-25', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-11-02', 'work_schedule': 'mon_fri_planning'}], 'required': ['date', 'work_schedule'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Bulgaria coverage.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline, not a universal legal roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday, observed_non_attendance_day, one_off_non_attendance_day, weekend_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'BG (Bulgaria).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed; holiday and non-attendance pay rules differ.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Bulgaria 2026 nationwide rest-day facts with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Labour_Code_154_statutory_observed_and_Council_one_off_non_attendance'}, 'is_working_day': {'type': 'boolean', 'description': 'Working date in the explicit mon_fri_planning nationwide baseline, not an individual or school roster.'}, 'territory_name': {'type': 'string', 'description': 'Bulgaria'}, 'dataset_version': {'type': 'string', 'description': 'bg-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'bulgaria-public-holidays'}, 'observed_for_dates': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Original statutory holiday dates for observed non-attendance, or an empty list.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is one of the 14 general-scope article 154(1) dates; excludes education-only November 1 and non-attendance substitutes.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Article_154_2_non_Easter_weekend_replacement_pinned_2026_dates'}, 'is_education_only_holiday': {'type': 'boolean', 'description': 'November 1 education-only annotation; not extra general rest.'}, 'is_one_off_non_attendance_day': {'type': 'boolean', 'description': 'Whether result.date is January 2, 2026 one-off non-attendance.'}, 'is_observed_non_attendance_day': {'type': 'boolean', 'description': 'Whether result.date is a pinned article 154(2) observed rest date.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_br_working_day
Brazil Working Day
Use this when you need a deterministic Brazil Brazil federal executive public administration (SIPEC) result. 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 is not a universal Brazilian private-employer calendar; state, municipal, sector, employer and private payroll schedules are not inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Brazil: Tiradentes. Inputs: date (date). Complete JSON argument examples: {"date":"2026-04-21"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/brazil-federal-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/brazil-federal-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-04-21'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Brazil coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'BR (Brazil).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Brazil federal executive public administration (SIPEC)'}, 'holiday_policy': {'type': 'string', 'description': 'Portaria MGI federal public-administration national holidays and ponto facultativo events; optional events are preserved as federal-scope optional days'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Brazil'}, 'dataset_version': {'type': 'string', 'description': 'br-mgi-federal-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'brazil-federal-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No private-sector, state or municipal substitute-day rule is inferred'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_canada_federal_working_day
Canada Federal General-Holiday Working Day
Use this when you need a federally regulated-employer general-holiday result for 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a province/territory, municipal, private-employer, exchange or schedule-specific substitute-day calendar. What it computes: Checks a date against the 10 Canada Labour Code general holidays and the Canada Saturday/Sunday baseline; substitute days are not inferred. Example user requests: Is 2026-09-30 a Canada federal working day? Inputs: date (date). Complete JSON argument examples: {"date":"2026-09-30"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_observed, holiday_actual_dates, weekend_days, rest_day_policy, substitute_day_policy, calendar_scope, calendar_profile, dataset_version, sources. Formula: is_working_day = Canada weekday baseline and no Canada Labour Code general holiday Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/canada-federal-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/canada-federal-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-09-30'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-09-30'], 'description': 'Gregorian date in the pinned Canada 2026-2027 coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Canada.ca and Canada Labour Code sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or Canada federal general holiday.'}, 'territory': {'type': 'string', 'description': 'CA.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR Saturday/Sunday baseline.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canada Labour Code general holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Federally regulated employers only.'}, 'is_working_day': {'type': 'boolean', 'description': 'True when the Canada Saturday/Sunday baseline has no listed federal general holiday.'}, 'territory_name': {'type': 'string', 'description': 'Canada.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Canada.ca evidence package.'}, 'rest_day_policy': {'type': 'string', 'description': 'Scheduled-workday and employer substitution rules are not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'canada-federal-general-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'False because substitute dates depend on schedule and agreement and are not inferred.'}, 'holiday_actual_dates': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Actual general-holiday dates.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Canada.ca rule summary with schedule-dependent boundary.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_china_working_day
Mainland China Working Day Checker
Use this when you need to know whether a specific 2024-2026 date is a working day in mainland China, especially around Spring Festival, National Day or another adjusted holiday. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a Hong Kong, Macao, Taiwan, local minority, school, employer, bank-settlement or stock-exchange calendar, or a year outside 2024-2026. What it computes: Checks whether a date is an official national working day in mainland China, including weekend makeup workdays (调休上班) and multi-day holiday periods from State Council notices. Example user requests: Is Sunday 2026-01-04 an official working day in mainland China? | 2026年9月20日是休息日还是调休上班? | Will mainland China offices normally work on 2026-02-18? Inputs: date (date). Complete JSON argument examples: {"date":"2026-01-04"} | {"date":"2026-02-18"} Outputs: date, weekday, is_working_day, day_type, holiday_name, holiday_name_zh, status_basis, jurisdiction, source_document_id, source_published_at, source_url, dataset_version, coverage_start, coverage_end. Formula: adjusted weekend workday override → working; else official holiday-period override → non-working; else Monday-Friday → working; Saturday-Sunday → non-working Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/china-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/china-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-01-04'}, {'date': '2026-02-18'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-04'], 'description': 'Mainland China civil date (YYYY-MM-DD), within 2024-2026.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'date': {'type': 'string', 'format': 'date', 'description': 'The checked civil date.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'adjusted_workday, official_holiday_period, regular_weekday or regular_weekend.'}, 'source_url': {'type': 'string', 'description': 'Official Chinese Government source URL.'}, 'coverage_end': {'type': 'string', 'format': 'date', 'description': 'Last supported date in this package.'}, 'holiday_name': {'type': 'string', 'description': 'English holiday name when the date belongs to or compensates for a holiday; otherwise empty.'}, 'jurisdiction': {'type': 'string', 'description': 'Calendar scope.'}, 'status_basis': {'type': 'string', 'description': 'Why the date is treated as working or non-working.'}, 'coverage_start': {'type': 'string', 'format': 'date', 'description': 'First supported date in this package.'}, 'is_working_day': {'type': 'boolean', 'description': 'True for a regular weekday or official adjusted weekend working day.'}, 'dataset_version': {'type': 'string', 'description': 'Version of the source-traceable mainland China work-calendar package.'}, 'holiday_name_zh': {'type': 'string', 'description': 'Chinese holiday name when applicable; otherwise empty.'}, 'source_document_id': {'type': 'string', 'description': "Official State Council notice identifier for the date's year."}, 'source_published_at': {'type': 'string', 'format': 'date', 'description': 'Publication date of the official annual notice.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_ch_working_day
Switzerland Working Day
Use this when you need a deterministic Switzerland Switzerland federal public holiday layer for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when federal layer only. Cantonal public holidays, municipal holidays, employer, collective-agreement, school, bank and exchange schedules are not inferred; Swiss law permits cantons to recognize additional holidays. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Switzerland: Swiss National Day. | Switzerland: Cantonal holiday is not inferred. Inputs: date (date). Complete JSON argument examples: {"date":"2026-08-01"} | {"date":"2026-09-10"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/switzerland-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/switzerland-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-08-01'}, {'date': '2026-09-10'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Switzerland coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'CH (Switzerland).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Switzerland federal public holiday layer for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Swiss National Day on 1 August is included as the only federal public holiday.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Switzerland'}, 'dataset_version': {'type': 'string', 'description': 'ch-federal-public-holiday-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'switzerland-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when 1 August falls on a weekend.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_cl_working_day
Chile Working Day
Use this when you need a deterministic Chile Chile nationwide statutory/public holidays for 2026 result. 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: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Chile: Chile Labour Day. | Chile: Chile ordinary working day. | Chile: Chile winter-solstice Indigenous Peoples Day. Inputs: date (date). Complete JSON argument examples: {"date":"2026-05-01"} | {"date":"2026-09-14"} | {"date":"2026-06-21"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/chile-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/chile-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-05-01'}, {'date': '2026-09-14'}, {'date': '2026-06-21'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': "Gregorian date in Chile's pinned 2026 nationwide statutory/public-holiday coverage."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'CL (Chile).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Chile nationwide statutory/public holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Chile_Ley_2977_plus_related_statutory_and_labour_rules'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Chile'}, 'dataset_version': {'type': 'string', 'description': 'cl-national-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'chile-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_2026_Ley_19668_and_Ley_20299_weekday_rules_are_included; future_or_regional_transfers_are_not_inferred'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_co_working_day
Colombia Working Day
Use this when you need a deterministic Colombia Colombia nationwide statutory paid-rest public holidays for 2026 result. 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 Colombia's nationwide statutory paid-rest holiday layer over a Saturday-Sunday baseline. Municipal, departmental, school, bank, employer, sector and local patron-saint schedules are not inferred. Future annual calendars require refreshed official evidence. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Colombia: Colombia transferred Three Kings holiday. | Colombia: Colombia Good Friday. | Colombia: Ordinary Colombia working day. Inputs: date (date). Complete JSON argument examples: {"date":"2026-01-12"} | {"date":"2026-04-03"} | {"date":"2026-09-14"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/colombia-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/colombia-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-01-12'}, {'date': '2026-04-03'}, {'date': '2026-09-14'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': "Gregorian date in Colombia's pinned 2026 nationwide statutory paid-rest holiday coverage."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'CO (Colombia).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Colombia nationwide statutory paid-rest public holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Colombia_Ley_51_1983_plus_Ministry_of_Finance_2026_calendar'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Colombia'}, 'dataset_version': {'type': 'string', 'description': 'co-government-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'colombia-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_2026_Ley_51_Monday_transfers_are_included; future_or_local_transfers_are_not_inferred'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_cz_working_day
Czech Republic Working Day
Use this when you need a deterministic Czech Republic Czech Republic 2026 statutory holidays with explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when czech Republic 2026 statutory rest-day facts over an explicitly selected Monday-Friday planning baseline. This is not a universal legal weekly roster. No shift, individual employer, bank/exchange, school, retail opening, payroll or legal-deadline schedule is computed. Commemorative days do not add rest; no substitute Monday is inferred. Future-year coverage is not asserted. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Requires explicit mon_fri_planning; commemorative events do not create rest. Example user requests: Czech Republic: Two names on January 1, one rest date. | Czech Republic: Education commemorative day remains a planning workday. | Czech Republic: November 17 is a Czech statutory rest day. Inputs: date (date); work_schedule (enum). Complete JSON argument examples: {"date":"2026-01-01","work_schedule":"mon_fri_planning"} | {"date":"2026-04-07","work_schedule":"mon_fri_planning"} | {"date":"2026-11-17","work_schedule":"mon_fri_planning"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_state_holiday, is_other_holiday, is_statutory_holiday, is_commemorative_day, payroll_scope. Formula: planning_workday = weekday AND no state_holiday AND no other_holiday Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/czech-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/czech-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-01-01', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-04-07', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-11-17', 'work_schedule': 'mon_fri_planning'}], 'required': ['date', 'work_schedule'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Czech Republic coverage.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline, not a statutory universal roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'state_holiday, other_holiday, weekend_baseline or regular_workday; commemorations alone do not add rest.'}, 'territory': {'type': 'string', 'description': 'CZ (Czech Republic).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Czech Republic 2026 statutory holidays with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Act_245_2000_sections_1_2_3_rest_section_4_commemorative'}, 'is_working_day': {'type': 'boolean', 'description': 'Working date in the explicitly selected mon_fri_planning baseline, not an individual roster.'}, 'territory_name': {'type': 'string', 'description': 'Czech Republic'}, 'dataset_version': {'type': 'string', 'description': 'cz-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'czech-public-holidays'}, 'is_other_holiday': {'type': 'boolean', 'description': 'Whether result.date is a section 2 other holiday.'}, 'is_state_holiday': {'type': 'boolean', 'description': 'Whether result.date is a section 1 state holiday.'}, 'is_commemorative_day': {'type': 'boolean', 'description': 'Whether result.date has a section 4 event effective at that occurrence; does not add rest.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is a statutory holiday under section 1 or 2.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No automatic substitute Monday inferred'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_de_working_day
Germany Working Day
Use this when you need a deterministic Germany Germany nationwide statutory public holidays for 2026 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when state, municipal, school, bank, TARGET, transport-system, collective-agreement and employer-specific schedules are not inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Germany: German Unity Day. | Germany: Ordinary weekday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-10-03"} | {"date":"2026-10-13"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/germany-national-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/germany-national-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-10-03'}, {'date': '2026-10-13'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Germany coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'DE (Germany).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Germany nationwide statutory public holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Only the nine holidays listed by the Bundesbank as valid for the entire Federal Republic are included; state-specific holidays are not inserted.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Germany'}, 'dataset_version': {'type': 'string', 'description': 'de-national-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'germany-national-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a holiday falls on a weekend.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_dk_working_day
Denmark Working Day
Use this when you need a deterministic Denmark Denmark nationwide statutory public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when nationwide statutory list only. Collective-agreement, employer, sector, school, bank, local and customary half-day closures are not inferred; Store Bededag is not a holiday from 2024 onward. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Denmark: Ascension Day. | Denmark: Constitution Day is not a statutory holiday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-05-14"} | {"date":"2026-06-05"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/denmark-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/denmark-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-05-14'}, {'date': '2026-06-05'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Denmark coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'DK (Denmark).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Denmark nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': "Danish nationwide statutory public holidays are included; May 1, Constitution Day, Christmas Eve and New Year's Eve are explicitly not inferred as public holidays."}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Denmark'}, 'dataset_version': {'type': 'string', 'description': 'dk-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'denmark-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No substitute-day closure is inferred when a statutory holiday falls on a weekend.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_ee_working_day
Estonia Working Day
Use this when you need a deterministic Estonia Estonia 2026 statutory rest and conditional shortening facts with explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when estonia 2026 statutory rest facts over an explicitly selected Monday-Friday planning baseline. Sixteen national-importance dates do not add rest. Four dates carry a conditional three-hour shortening rule but still count as one planning working date, not a half-day or full-day holiday. No substitute or bridge is invented. Individual shifts, actual working hours, opening hours, employer/local/sector/school/bank schedules, replacement weekly rest, payroll, legal deadlines and future years are not computed. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Requires explicit mon_fri_planning; national-importance dates and three-hour shortening never add full-day rest. Example user requests: Estonia: Independence Day is statutory rest. | Estonia: Shortened working date is not full-day rest. | Estonia: National importance does not imply rest. Inputs: date (date); work_schedule (enum). Complete JSON argument examples: {"date":"2026-02-24","work_schedule":"mon_fri_planning"} | {"date":"2026-02-23","work_schedule":"mon_fri_planning"} | {"date":"2026-11-16","work_schedule":"mon_fri_planning"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_non_working_day, is_day_of_national_importance, is_shortened_workday, statutory_shortening_hours, shortening_scope, working_hours_scope, personal_roster_scope, payroll_scope. Formula: planning_workday = weekday AND no statutory_full_day_rest_event; shortened working dates count once Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/estonia-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/estonia-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-02-24', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-02-23', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-11-16', 'work_schedule': 'mon_fri_planning'}], 'required': ['date', 'work_schedule'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Estonia coverage.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline; not an individual legal roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'national_holiday_rest, public_holiday_rest, shortened_workday, weekend_baseline or regular_workday; observances do not add rest.'}, 'territory': {'type': 'string', 'description': 'EE (Estonia).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Estonia 2026 statutory rest and conditional shortening facts with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'PTS_sections_1_2_rest; section_3_observances_non_rest; ECA_53_shortening_not_full_rest'}, 'is_working_day': {'type': 'boolean', 'description': 'Working date in explicit mon_fri_planning, not individual attendance; a shortened date counts once.'}, 'territory_name': {'type': 'string', 'description': 'Estonia'}, 'dataset_version': {'type': 'string', 'description': 'ee-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'estonia-public-holidays'}, 'shortening_scope': {'type': 'string', 'description': 'Conditions and limits of shortening.'}, 'working_hours_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'is_shortened_workday': {'type': 'boolean', 'description': 'Whether result.date carries the conditional ECA 53 shortening rule; not full-day rest.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No_unpublished_substitute_or_bridge_day_inferred'}, 'statutory_shortening_hours': {'type': 'integer', 'description': 'Three on a shortening-rule date, zero otherwise. Rule magnitude only, NOT computed individual hours or entitlement.'}, 'is_statutory_non_working_day': {'type': 'boolean', 'description': 'Whether result.date is a statutory full-day rest holiday under PTS sections 1-2, excluding ordinary weekends.'}, 'is_day_of_national_importance': {'type': 'boolean', 'description': 'Whether result.date is a PTS section 3 observance without extra rest.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_eg_working_day
Egypt Working Day
Use this when you need a deterministic Egypt Egypt 2026 official public-holiday layer for ministries, government bodies, public authorities, local administration and public-sector/public-business companies result. 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 the official nationwide public-holiday layer published for Egyptian government/public-sector scope. Private employers, banks, schools, diplomatic missions, exchanges, local or sector calendars may differ and are not inferred. Friday-Saturday is the ordinary weekend baseline; special remote-work or operating-hour decisions are not treated as holidays. Islamic dates and later Prime Minister decisions require a refreshed package. What it computes: Checks a date against the Friday-Saturday weekend baseline and exact 2026-2026 authority events. Example user requests: Egypt: Eid al-Fitr public holiday. | Egypt: Ordinary Egypt working day. Inputs: date (date). Complete JSON argument examples: {"date":"2026-03-20"} | {"date":"2026-09-14"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Friday/Saturday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/egypt-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/egypt-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-03-20'}, {'date': '2026-09-14'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': "Gregorian date in Egypt's pinned 2026 official public-holiday coverage over a Friday-Saturday weekend."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'EG (Egypt).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Egypt 2026 official public-holiday layer for ministries, government bodies, public authorities, local administration and public-sector/public-business companies'}, 'holiday_policy': {'type': 'string', 'description': 'Egypt_Presidency_2026_official_holiday_table_plus_Prime_Minister_public_sector_notices'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Egypt'}, 'dataset_version': {'type': 'string', 'description': 'eg-official-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'egypt-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_2026_dates_only; no future_lunar_or_unannounced_substitute_day_inference'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_es_working_day
Spain Working Day
Use this when you need a deterministic Spain Spain nationwide national non-substitutable labour holidays for 2026 result. 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 remaining national, autonomous-community, Ceuta/Melilla and up to two municipal local holidays require a jurisdiction-specific calendar. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Spain: National Day. | Spain: Ordinary weekday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-10-12"} | {"date":"2026-10-13"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/spain-national-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/spain-national-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-10-12'}, {'date': '2026-10-13'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Spain coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'ES (Spain).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Spain nationwide national non-substitutable labour holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Only national non-substitutable holidays from the BOE calendar are included; autonomous-community and local holidays are not inserted.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Spain'}, 'dataset_version': {'type': 'string', 'description': 'es-national-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'spain-national-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'Autonomous-community substitution choices and local compensatory arrangements are not inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_fi_working_day
Finland Working Day
Use this when you need a deterministic Finland Finland nationwide church and national full-day public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when nationwide full-day public-holiday layer only. Midsummer Eve, Christmas Eve, employer, collective-agreement, sector, school, bank, Åland, Sámi and local closures are not inferred; private-sector annual-leave counting may treat Saturdays and certain eves differently. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Finland: Independence Day. | Finland: Midsummer Eve is agreement-dependent. Inputs: date (date). Complete JSON argument examples: {"date":"2026-12-06"} | {"date":"2026-06-19"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/finland-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/finland-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-12-06'}, {'date': '2026-06-19'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Finland coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'FI (Finland).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Finland nationwide church and national full-day public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Finnish church and national public holidays are included; Midsummer Eve and Christmas Eve are not treated as nationwide statutory full-day holidays because their paid-day status is commonly agreement-dependent.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Finland'}, 'dataset_version': {'type': 'string', 'description': 'fi-nationwide-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'finland-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a public holiday falls on a weekend.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_fr_working_day
France Working Day
Use this when you need a deterministic France France national legal public holidays result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when alsace-Moselle, overseas territories, employer, sector, school, bank, exchange and regional calendars are not inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: France: Bastille Day. Inputs: date (date). Complete JSON argument examples: {"date":"2026-07-14"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/france-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/france-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-07-14'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in France coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'FR (France).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'France national legal public holidays'}, 'holiday_policy': {'type': 'string', 'description': 'Article L3133-1 national legal list; May 1 has special mandatory-rest protection while other holidays can be worked under applicable collective/employer rules'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'France'}, 'dataset_version': {'type': 'string', 'description': 'fr-legifrance-public-holidays-2026-09-29.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'france-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No national substitute-day closure is inferred; Alsace-Moselle and local/sector rules require separate authority evidence'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_gh_working_day
Ghana Working Day
Use this when you need a deterministic Ghana Ghana 2026 nationwide statutory/public-holiday layer over a Saturday-Sunday weekend result. 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 the nationwide statutory/public-holiday layer only. It is not a universal private-employer, bank, exchange, school, local, sector or essential-service calendar. The 2026 package uses observed dates published or cross-checked for 2026; lunar dates and later Executive Instruments may change. It does not treat the pre-Act-1142 4 August Founder’s Day or 2025-era September naming as current law, and it does not infer additional closure days from the legal anchors alone. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Ghana: Republic Day observed. | Ghana: Ordinary Ghana working day. Inputs: date (date). Complete JSON argument examples: {"date":"2026-07-03"} | {"date":"2026-06-16"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/ghana-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/ghana-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-07-03'}, {'date': '2026-06-16'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': "Gregorian date in Ghana's pinned 2026 nationwide statutory/public-holiday coverage over a Saturday-Sunday weekend."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'GH (Ghana).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Ghana 2026 nationwide statutory/public-holiday layer over a Saturday-Sunday weekend'}, 'holiday_policy': {'type': 'string', 'description': 'Ghana_Public_Holidays_Act_Act_1142_and_2026_Ministry_of_Interior_Notices'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Ghana'}, 'dataset_version': {'type': 'string', 'description': 'gh-national-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'ghana-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_observed_dates_only; Act_1142_midweek_and_weekend_rules_are_not_inferred_without_a_2026_notice'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_global_public_holiday_working_day
Global Public-Holiday Working Day Reference
Use this when you need a source-labelled 2026-2028 public-holiday reference for one of the supported OpenHolidays countries and nationwide-only semantics are acceptable. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need an official direct authority result, regional/local holidays, substitute-day rules, employer/bank/exchange closures, or a date outside 2026-2028; use the verified China/UK package or the CLDR baseline as appropriate. What it computes: Checks a date for a supported country using CLDR weekend rules plus nationwide public-holiday events from a pinned OpenHolidays open-data snapshot, with explicit non-authority and substitute-day limits. Example user requests: Is 2026-10-26 a working day in Austria after nationwide public holidays are excluded? | Check 2027-05-01 in France using the OpenHolidays nationwide reference. Inputs: date (date); territory (enum). Complete JSON argument examples: {"date":"2026-10-26","territory":"AT"} Outputs: territory, territory_name, weekday, is_working_day, weekend_days, holiday_names, holiday_policy, calendar_scope, calendar_profile, substitute_day_policy, source_quality, dataset_version, coverage_start, coverage_end, source_commit. Formula: is_working_day = CLDR weekday(date) and no included nationwide public-holiday event(date, territory) Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-public-holiday-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/global-public-holiday-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-10-26', 'territory': 'AT'}], 'required': ['date', 'territory'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-26'], 'description': 'Gregorian date from 2026-01-01 through 2028-12-31.'}, 'territory': {'enum': ['AD', 'AL', 'AT', 'BE', 'BG', 'BY', 'CH', 'CZ', 'DE', 'EE', 'ES', 'FR', 'HR', 'HU', 'IE', 'IT', 'LI', 'LT', 'LU', 'LV', 'MC', 'MD', 'MT', 'MX', 'NL', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK', 'SM', 'VA', 'ZA'], 'type': 'string', 'pattern': '^[A-Z]{2}$', 'examples': ['DE'], 'maxLength': 2, 'description': 'ISO-style alpha-2 country code supported by the pinned OpenHolidays public-holiday reference snapshot.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'territory': {'type': 'string', 'description': 'Normalized uppercase country code.'}, 'coverage_end': {'type': 'string', 'format': 'date', 'description': 'Last supported date.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR weekend convention used as the base rule.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Included nationwide public-holiday names on the date.'}, 'source_commit': {'type': 'string', 'description': 'Immutable source-data repository commit.'}, 'calendar_scope': {'type': 'string', 'description': 'Weekday plus nationwide public-holiday reference.'}, 'coverage_start': {'type': 'string', 'format': 'date', 'description': 'First supported date.'}, 'holiday_policy': {'type': 'string', 'description': 'Nationwide public events only; regional and substitute-day rules are not inferred.'}, 'is_working_day': {'type': 'boolean', 'description': 'True when the date is outside the CLDR weekend and has no included nationwide public-holiday event.'}, 'source_quality': {'type': 'string', 'description': 'Open public-source aggregation, not a direct national authority feed.'}, 'territory_name': {'type': 'string', 'description': 'English country name from the source catalogue.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned OpenHolidays snapshot version.'}, 'calendar_profile': {'type': 'string', 'description': 'global-public-holiday-reference.'}, 'substitute_day_policy': {'type': 'string', 'description': 'not_inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_global_reference_working_day
Global Working Day Reference
Use this when you need broad 2026-2028 working-day reference coverage and accept national-scope open-derived semantics rather than a direct authority calendar. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need an official direct authority, a regional/employer/bank/exchange calendar, a legal determination, or a date outside 2026-2028; use the official China/UK package or the CLDR baseline as appropriate. What it computes: Checks a date across 246 country/territory codes using a pinned OpenWorkdays national-scope public-holiday reference, country weekend rules and explicit working-weekend dates, with estimated/observed flags and non-authority limits. Example user requests: Is 2026-10-26 a working day in Australia using the broad national reference? | Check 2027-02-25 in Saudi Arabia and show whether the holiday date is estimated. Inputs: date (date); territory (enum). Complete JSON argument examples: {"date":"2026-10-26","territory":"AU"} Outputs: territory, territory_name, source_territory_name, weekday, is_working_day, weekend_days, working_weekend_day, holiday_names, holiday_observed, holiday_estimated, holiday_policy, calendar_scope, calendar_profile, substitute_day_policy, source_quality, dataset_version, coverage_start, coverage_end, source_url. Formula: is_working_day = not source_weekend(date) and not source_public_holiday(date, country); explicit source working-weekend dates override the weekend classification Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-reference-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/global-reference-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-10-26', 'territory': 'AU'}], 'required': ['date', 'territory'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-26'], 'description': 'Gregorian date from 2026-01-01 through 2028-12-31.'}, 'territory': {'enum': ['AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AR', 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BS', 'BT', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR', 'CU', 'CV', 'CW', 'CX', 'CY', 'CZ', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'HK', 'HN', 'HR', 'HT', 'HU', 'ID', 'IE', 'IL', 'IM', 'IN', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NU', 'NZ', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'RE', 'RO', 'RS', 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WF', 'WS', 'XK', 'YE', 'YT', 'ZA', 'ZM', 'ZW'], 'type': 'string', 'pattern': '^[A-Z]{2}$', 'examples': ['AU'], 'maxLength': 2, 'description': 'ISO-style alpha-2 country code supported by the pinned OpenWorkdays reference snapshot.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'territory': {'type': 'string', 'description': 'Normalized uppercase country code.'}, 'source_url': {'type': 'string', 'description': 'Pinned OpenWorkdays source index.'}, 'coverage_end': {'type': 'string', 'format': 'date', 'description': 'Last supported date.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Weekend convention supplied by the source country file.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Included national-scope public-holiday names on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'National reference plus country weekend and explicit working-weekend dates.'}, 'coverage_start': {'type': 'string', 'format': 'date', 'description': 'First supported date.'}, 'holiday_policy': {'type': 'string', 'description': 'National-scope events with source observed/estimated flags preserved.'}, 'is_working_day': {'type': 'boolean', 'description': 'True when the date is neither a source country weekend nor an included public-holiday event.'}, 'source_quality': {'type': 'string', 'description': 'Open derived reference, not a direct national authority feed.'}, 'territory_name': {'type': 'string', 'description': 'Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned OpenWorkdays snapshot version.'}, 'calendar_profile': {'type': 'string', 'description': 'global-working-day-reference.'}, 'holiday_observed': {'type': 'boolean', 'description': 'True when an included event is marked observed by the source.'}, 'holiday_estimated': {'type': 'boolean', 'description': 'True when an included event is marked estimated by the source.'}, 'working_weekend_day': {'type': 'boolean', 'description': 'True when the source explicitly marks a weekend date as an official working day.'}, 'source_territory_name': {'type': 'string', 'description': 'Raw country name from the hash-pinned OpenWorkdays source catalogue.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Source flags are preserved; no new substitute-day rule is inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_global_working_day
Global Working Day Baseline
Use this when you need a worldwide weekday/weekend check and have a CLDR alpha-2 territory code, but do not need public-holiday exclusions. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need public holidays, substitute holidays, employer closures, bank settlement, stock exchange, school, religious or emergency closure rules; use a jurisdiction-specific evidence package instead. What it computes: Checks a Gregorian date for any supported CLDR alpha-2 territory code using the pinned Unicode CLDR weekend convention, with explicit holiday exclusions and provenance. Example user requests: Is 2026-10-05 a working day in Australia under the territory weekend rule? | Check whether Friday 2026-06-12 is a weekday in Saudi Arabia. | 判断 2026-10-01 在印度按周末规则是否为工作日。 Inputs: date (date); territory (enum). Complete JSON argument examples: {"date":"2026-10-05","territory":"AU"} Outputs: date, territory, territory_display_name, weekday, is_working_day, weekend_days, calendar_scope, holiday_policy, calendar_profile, calendar_selection_catalog_url, dataset_version, source_url. Formula: is_working_day = weekday(date) not in CLDR(territory).weekendStart..weekendEnd Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/global-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-10-05', 'territory': 'AU'}], 'required': ['date', 'territory'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-05'], 'description': 'Gregorian date from 1900-01-01 through 2100-12-31.'}, 'territory': {'enum': ['AC', 'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AN', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BS', 'BT', 'BU', 'BV', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CP', 'CQ', 'CR', 'CS', 'CU', 'CV', 'CW', 'CX', 'CY', 'CZ', 'DD', 'DE', 'DG', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'EA', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'EU', 'EZ', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'FX', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'ID', 'IE', 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NT', 'NU', 'NZ', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'QO', 'QU', 'RE', 'RO', 'RS', 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SU', 'SV', 'SX', 'SY', 'SZ', 'TA', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TP', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', 'UN', 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WF', 'WS', 'XK', 'YD', 'YE', 'YT', 'YU', 'ZA', 'ZM', 'ZR', 'ZW'], 'type': 'string', 'pattern': '^[A-Z]{2}$', 'examples': ['AU'], 'maxLength': 2, 'description': 'CLDR territory code in alpha-2 form. The complete accepted-code enum is exposed here; it includes ISO-style territory codes plus CLDR regional and legacy codes where present.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'date': {'type': 'string', 'format': 'date', 'description': 'Checked Gregorian date.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'territory': {'type': 'string', 'description': 'Normalized uppercase CLDR territory code.'}, 'source_url': {'type': 'string', 'description': 'Pinned CLDR JSON source.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Territory weekend convention from CLDR.'}, 'calendar_scope': {'type': 'string', 'description': 'weekday_pattern_only; public holidays are intentionally not included.'}, 'holiday_policy': {'type': 'string', 'description': 'public_holidays_not_included for this global baseline.'}, 'is_working_day': {'type': 'boolean', 'description': "True when the date is not in the territory's CLDR weekend range."}, 'dataset_version': {'type': 'string', 'description': 'Pinned CLDR weekend-data version.'}, 'calendar_profile': {'type': 'string', 'description': 'Machine-readable profile id: global-weekday-baseline.'}, 'territory_display_name': {'type': 'string', 'description': 'Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW.'}, 'calendar_selection_catalog_url': {'type': 'string', 'description': 'Use this catalog before selecting a jurisdiction-specific holiday package.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_gr_working_day
Greece Working Day
Use this when you need a deterministic Greece Greece nationwide compulsory public holidays under the employment-law layer for 2026 result. 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 the nationwide compulsory public-holiday layer over a Saturday-Sunday baseline. 28 October is included as published in the 2026 Ministry schedule; Gov.gr notes that optional-holiday and employer discretion can apply under the underlying legal framework. Clean Monday, Good Friday and Holy Spirit Monday are not generalized as compulsory closures. Regional, municipal, school, bank, exchange, employer, collective-agreement and sector schedules are not inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Greece: Greece Easter Monday. | Greece: Greece ordinary weekday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-04-13"} | {"date":"2026-09-14"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/greece-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/greece-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-04-13'}, {'date': '2026-09-14'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': "Gregorian date in Greece's pinned 2026 nationwide compulsory public-holiday coverage."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'GR (Greece).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Greece nationwide compulsory public holidays under the employment-law layer for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Article_60_Law_4808_2021_compulsory_public_holidays'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Greece'}, 'dataset_version': {'type': 'string', 'description': 'gr-labour-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'greece-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No national substitute-day closure is inferred; optional, local, employer, sector and later Gazette decisions require separate evidence'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_hk_working_day
中国香港特别行政区 Working Day
Use this when you need a deterministic 中国香港特别行政区 Hong Kong general holidays under the General Holidays Ordinance; government/general public calendar only result. 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 is the Hong Kong general/public-holiday calendar. Statutory employee holidays, employer rest days, school calendars, bank/exchange closures and private-sector arrangements are not inferred. What it computes: Checks a date against the Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: 中国香港特别行政区: 2027 Lunar New Year substitute. | 中国香港特别行政区: 2026 Ching Ming substitution. Inputs: date (date). Complete JSON argument examples: {"date":"2027-02-09"} | {"date":"2026-04-06"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/hong-kong-general-holidays-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/hong-kong-general-holidays-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2027-02-09'}, {'date': '2026-04-06'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in the pinned Hong Kong Government 2026-2027 general-holiday coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'HK (中国香港特别行政区).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Hong Kong general holidays under the General Holidays Ordinance; government/general public calendar only'}, 'holiday_policy': {'type': 'string', 'description': 'Hong_Kong_General_Holidays_Ordinance_events_over_Sunday_baseline'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': '中国香港特别行政区'}, 'dataset_version': {'type': 'string', 'description': 'hk-general-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'hong-kong-general-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_substitute_and_first_weekday_after_dates_only; employee_rest_day_compensation_not_inferred'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_hr_working_day
Croatia Working Day
Use this when you need a deterministic Croatia Croatia 2026 article 1 general holiday facts with explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when croatia 2026 article 1 general holidays over an explicitly selected Monday-Friday planning baseline. Article 2 memorial days do not add rest. Article 3 religious rights depend on the person and, for specified festivals, the chosen day; they are not included in a universal union. Individual shifts, replacement weekly rest, employer/local/sector/school/bank schedules, payroll, legal deadlines and future years are not computed. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Requires explicit mon_fri_planning; memorials and person-specific religious rights are not general rest. Example user requests: Croatia: Good Friday is not a general statutory holiday. | Croatia: Corpus Christi. | Croatia: Independence memorial is not a rest holiday. Inputs: date (date); work_schedule (enum). Complete JSON argument examples: {"date":"2026-04-03","work_schedule":"mon_fri_planning"} | {"date":"2026-06-04","work_schedule":"mon_fri_planning"} | {"date":"2026-06-25","work_schedule":"mon_fri_planning"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_commemorative_day, religious_rest_scope, payroll_scope. Formula: planning_workday = weekday AND no article_1_statutory_holiday Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/croatia-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/croatia-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-04-03', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-06-04', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-06-25', 'work_schedule': 'mon_fri_planning'}], 'required': ['date', 'work_schedule'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Croatia coverage.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline; not an individual statutory roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday, weekend_baseline or regular_workday; memorials alone do not add rest.'}, 'territory': {'type': 'string', 'description': 'HR (Croatia).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Croatia 2026 article 1 general holiday facts with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'NN_110_2019_article_1_general_rest_article_2_memorial_NN_72_2025'}, 'is_working_day': {'type': 'boolean', 'description': 'Working date in explicit mon_fri_planning article 1 general scope, not individual attendance or religious leave.'}, 'territory_name': {'type': 'string', 'description': 'Croatia'}, 'dataset_version': {'type': 'string', 'description': 'hr-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'croatia-public-holidays'}, 'is_commemorative_day': {'type': 'boolean', 'description': 'Whether result.date has an article 2 memorial; this does not add rest.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is an article 1 general statutory holiday.'}, 'religious_rest_scope': {'type': 'string', 'description': 'article_3_person_specific_not_computed: no union or inferred personal religious identity.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Article_4_no_next_day_transfer; no_unpublished_substitute_inferred'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_hu_working_day
Hungary Working Day
Use this when you need a deterministic Hungary Hungary 2026 general Monday-Friday work schedule result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when hungary 2026 general Monday-Friday work schedule only (Labour Code section 97(2), NGM 10/2025). Requires explicit work_schedule. Eleven statutory holidays and three paired transfers are included; three Saturdays are working. No shift, personal, bank, exchange, school, local-office opening or payroll schedule is inferred. No automatic substitute Monday. The annual decree expires 2027-01-01; later schedules require new evidence. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Requires an explicit general Monday-Friday work schedule; includes three working Saturdays and paired rest dates. Example user requests: Hungary: Working Saturday compensates August 21. | Hungary: Christmas Eve is transferred rest, not statutory holiday. | Hungary: Whit Monday. Inputs: date (date); work_schedule (enum). Complete JSON argument examples: {"date":"2026-08-08","work_schedule":"general_monday_friday"} | {"date":"2026-12-24","work_schedule":"general_monday_friday"} | {"date":"2026-05-25","work_schedule":"general_monday_friday"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_transferred_rest_day, is_makeup_working_day, transfer_pair, payroll_scope. Formula: working = published makeup day OR (weekday AND not statutory holiday AND not transferred rest) Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/hungary-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/hungary-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-08-08', 'work_schedule': 'general_monday_friday'}, {'date': '2026-12-24', 'work_schedule': 'general_monday_friday'}, {'date': '2026-05-25', 'work_schedule': 'general_monday_friday'}], 'required': ['date', 'work_schedule'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Hungary coverage.'}, 'work_schedule': {'enum': ['general_monday_friday'], 'type': 'string', 'examples': ['general_monday_friday'], 'description': 'Required: confirm the general Monday-Friday work schedule under Labour Code 97(2). Do not use for shifts or institution-specific opening.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'HU (Hungary).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'transfer_pair': {'type': 'object', 'description': 'Paired working/rest dates and legal basis for result.date, otherwise empty object.'}, 'work_schedule': {'type': 'string', 'description': 'Explicitly selected general_monday_friday schedule.'}, 'calendar_scope': {'type': 'string', 'description': 'Hungary 2026 general Monday-Friday work schedule'}, 'holiday_policy': {'type': 'string', 'description': 'Act_I_2012_102_1_and_NGM_10_2025'}, 'is_working_day': {'type': 'boolean', 'description': 'General-schedule working date, including the three published makeup Saturdays.'}, 'territory_name': {'type': 'string', 'description': 'Hungary'}, 'dataset_version': {'type': 'string', 'description': 'hu-general-work-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'hungary-public-holidays'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is a Labour Code 102(1) holiday.'}, 'is_makeup_working_day': {'type': 'boolean', 'description': 'Whether result.date is a published working Saturday.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only three published 2026 transfer pairs; no substitute Monday inferred'}, 'is_transferred_rest_day': {'type': 'boolean', 'description': 'Whether result.date is one of the three NGM rest dates.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_id_working_day
Indonesia Working Day
Use this when you need a deterministic Indonesia Indonesia national holidays and joint-leave schedule published by the three-minister SKB result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when cuti bersama is facultative for private employers and may be governed by each employer; ASN-specific implementation and local, sector, religious-optional and employer schedules are not inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Indonesia: National holiday. | Indonesia: Joint leave is separately labelled. Inputs: date (date). Complete JSON argument examples: {"date":"2026-08-17"} | {"date":"2027-03-12"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/indonesia-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/indonesia-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-08-17'}, {'date': '2027-03-12'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Indonesia coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'ID (Indonesia).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Indonesia national holidays and joint-leave schedule published by the three-minister SKB'}, 'holiday_policy': {'type': 'string', 'description': 'National holidays and cuti bersama are preserved as separate event kinds; the result is an official government/employee schedule, not a universal private-employer closure calendar.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Indonesia'}, 'dataset_version': {'type': 'string', 'description': 'id-skb-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'indonesia-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No additional substitute-day, local-government, employer or sector rule is inferred beyond the published SKB dates.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_india_central_working_day
India Central Government Working Day
Use this when you need a deterministic 2026 central-government office baseline and can specify Delhi/New Delhi versus outside Delhi. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a state, Union Territory, bank, employer, school, exchange, or an outside-Delhi locally selected optional-holiday calendar. What it computes: Checks a 2026 date against the Department of Personnel and Training central-government holiday schedule, preserving Gazetted and Restricted distinctions. Example user requests: Is 2026-10-20 a working day for India's central government office in Delhi? | Is 2026-08-28 a guaranteed closure or only a restricted holiday option outside Delhi? Inputs: date (date); office_scope (enum). Complete JSON argument examples: {"date":"2026-10-20","office_scope":"delhi_new_delhi"} | {"date":"2026-08-28","office_scope":"outside_delhi"} Outputs: territory, territory_name, office_scope, office_scope_name, weekday, is_working_day, is_guaranteed_non_working_day, day_type, gazetted_holiday_names, restricted_holiday_names, restricted_holiday_available, calendar_scope, rest_day_policy, restricted_holiday_policy, selection_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = India Saturday/Sunday baseline and no applicable Gazetted holiday; Restricted holidays remain options Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/india-central-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/india-central-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-10-20', 'office_scope': 'delhi_new_delhi'}, {'date': '2026-08-28', 'office_scope': 'outside_delhi'}], 'required': ['date', 'office_scope'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-20'], 'description': 'Gregorian date in the pinned 2026 DoPT coverage.'}, 'office_scope': {'enum': ['delhi_new_delhi', 'outside_delhi'], 'type': 'string', 'examples': ['delhi_new_delhi'], 'description': 'Required scope: delhi_new_delhi or outside_delhi. State/UT holiday calendars are not represented by this package.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Government of India sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Weekly rest day, gazetted holiday, restricted option or regular weekday.'}, 'territory': {'type': 'string', 'description': 'IN.'}, 'office_scope': {'type': 'string', 'description': 'Selected central-government office scope.'}, 'calendar_scope': {'type': 'string', 'description': 'Exact data scope.'}, 'is_working_day': {'type': 'boolean', 'description': 'True when the Saturday/Sunday baseline has no applicable gazetted closure.'}, 'territory_name': {'type': 'string', 'description': 'India.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned DoPT package version.'}, 'rest_day_policy': {'type': 'string', 'description': 'Weekly-rest and exclusion policy.'}, 'calendar_profile': {'type': 'string', 'description': 'in-dopt-central-government-holidays.'}, 'selection_policy': {'type': 'string', 'description': 'Whether local optional selection is required.'}, 'office_scope_name': {'type': 'string', 'description': 'Human-readable scope.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No automatic substitute-day inference.'}, 'gazetted_holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Gazetted holidays applying to the selected central-government scope.'}, 'restricted_holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Restricted-holiday options listed by the memorandum; these do not close the office by default.'}, 'restricted_holiday_policy': {'type': 'string', 'description': 'Restricted and locally selected optional-holiday rule.'}, 'restricted_holiday_available': {'type': 'boolean', 'description': 'Whether a restricted-holiday option is listed on the date.'}, 'is_guaranteed_non_working_day': {'type': 'boolean', 'description': 'True for the weekly baseline or an applicable gazetted holiday.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_ireland_working_day
Ireland Working Day
Use this when you need an Ireland national statutory public-holiday result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need an employer, bank, school, sector, local or individually selected benefit day. What it computes: Checks an Ireland date against the Saturday-Sunday baseline and exact 2026-2027 national statutory public holidays. Good Friday is a normal working day and weekend holidays are not automatically moved to Monday. Example user requests: Is 2027-02-01 an Ireland working day? Inputs: date (date). Complete JSON argument examples: {"date":"2027-02-01"} | {"date":"2027-03-26"} Outputs: territory, territory_name, weekday, is_working_day, holiday_names, calendar_scope, good_friday_policy, weekend_holiday_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = Monday-Friday and no exact national statutory public holiday Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/ireland-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/ireland-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2027-02-01'}, {'date': '2027-03-26'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-01'], 'description': 'Gregorian date in Ireland national 2026-2027 coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Irish government regulator and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'territory': {'type': 'string', 'description': 'IE (Ireland).'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'National statutory public holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'National statutory public holidays over a Monday-Friday baseline.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no national statutory public holiday.'}, 'territory_name': {'type': 'string', 'description': 'Ireland.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Ireland WRC package.'}, 'calendar_profile': {'type': 'string', 'description': 'ireland-public-holidays.'}, 'good_friday_policy': {'type': 'string', 'description': 'Good Friday is not a public holiday.'}, 'weekend_holiday_policy': {'type': 'string', 'description': 'No automatic next-working-day closure is inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_it_working_day
Italy Working Day
Use this when you need a deterministic Italy Italy nationwide statutory/public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when regional, municipal, local patron-saint, school, bank, sector, collective-agreement and employer-specific schedules are not inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Italy: Republic Day. | Italy: Easter Monday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-06-02"} | {"date":"2027-03-29"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/italy-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/italy-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-06-02'}, {'date': '2027-03-29'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Italy coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'IT (Italy).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Italy nationwide statutory/public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'National statutory holidays are preserved; Sundays are handled by the Monday-Friday baseline and local patron days are not inserted.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Italy'}, 'dataset_version': {'type': 'string', 'description': 'it-national-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'italy-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a national holiday falls on a weekend.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_japan_national_working_day
Japan National Holiday Working Day
Use this when you need Japan statutory national-holiday status for 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a company, school, bank, exchange or prefectural closure calendar. What it computes: Checks a date against Japan's statutory national holidays and Saturday/Sunday baseline. Example user requests: Is 2027-03-22 a Japan working day? Inputs: date (date). Complete JSON argument examples: {"date":"2027-03-22"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_legal_bases, weekend_days, calendar_scope, rest_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = Japan weekday baseline and no Cabinet Office statutory holiday Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/japan-national-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/japan-national-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2027-03-22'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2027-03-22'], 'description': 'Gregorian date in the pinned Cabinet Office 2026-2027 coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Cabinet Office and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or statutory national holiday.'}, 'territory': {'type': 'string', 'description': 'JP.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR Saturday/Sunday baseline.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'National holiday or statutory holiday under the Cabinet Office table.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Japanese statutory holiday names applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Japan statutory national holidays only.'}, 'is_working_day': {'type': 'boolean', 'description': 'True when the Japan Saturday/Sunday baseline is a weekday and no statutory national holiday applies.'}, 'territory_name': {'type': 'string', 'description': 'Japan.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Cabinet Office evidence package.'}, 'rest_day_policy': {'type': 'string', 'description': 'Company, school, bank and exchange closures are not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'jp-cabinet-office-national-holidays.'}, 'holiday_legal_bases': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Holiday Act or Cabinet Office legal classification.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_ke_working_day
Kenya Working Day
Use this when you need a deterministic Kenya Kenya 2026 nationwide public-holiday layer over a Saturday-Sunday working-week baseline result. 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 the nationwide public-holiday layer only. It is not a universal private-employer, bank, school, county, sector, diplomatic or shift-work calendar. The Saturday-Sunday baseline is a calculation convention for ordinary weekday work, not a claim that every employer uses the same roster. Idd-ul-Fitr and Idd-ul-Adha are pinned to the 2026 Gazette declarations; future lunar dates and later special notices require a refreshed package. The Act's Sunday substitution rule is preserved and no Saturday-to-Monday substitution is inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Kenya: Idd-ul-Fitr public holiday. | Kenya: Ordinary Kenya working day. Inputs: date (date). Complete JSON argument examples: {"date":"2026-03-20"} | {"date":"2026-09-14"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/kenya-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/kenya-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-03-20'}, {'date': '2026-09-14'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': "Gregorian date in Kenya's pinned 2026 nationwide public-holiday coverage over a Saturday-Sunday baseline."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'KE (Kenya).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Kenya 2026 nationwide public-holiday layer over a Saturday-Sunday working-week baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Kenya_Public_Holidays_Act_and_2026_Gazette_Notices'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Kenya'}, 'dataset_version': {'type': 'string', 'description': 'ke-national-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'kenya-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'Sunday_substitution_only_under_Public_Holidays_Act; no Saturday_lieu_day_without_a_specific_notice'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_kr_working_day
South Korea Working Day
Use this when you need a deterministic South Korea South Korea statutory public holidays and public-office substitute holidays for 2026 result. 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 package covers the 2026 statutory/public-office schedule only; private-employer, school, bank, exchange, local-government and 2027 schedules are not inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: South Korea: New Labor Day public holiday. | South Korea: Published substitute holiday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-05-01"} | {"date":"2026-10-05"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/south-korea-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/south-korea-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-05-01'}, {'date': '2026-10-05'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in South Korea coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'KR (South Korea).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'South Korea statutory public holidays and public-office substitute holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'National, substitute and election holiday event kinds are preserved; this is not a universal private-employer or school closure calendar.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'South Korea'}, 'dataset_version': {'type': 'string', 'description': 'kr-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'south-korea-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only the published 2026 substitute dates are included; employer exchanges, local-government holidays and school schedules are not inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_kz_working_day
Kazakhstan Working Day
Use this when you need a deterministic Kazakhstan Kazakhstan nationwide published 2026 five-day public-holiday and transfer schedule result. 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 the nationwide published 2026 five-day schedule over a Saturday-Sunday baseline. Six-day, shift, continuous-operation, employer, bank, school, local and sector calendars are not inferred. Qurban Ait is represented by the published 2026 first-day date. Adilet's current text records Constitution Day on 15 March with an amendment effective 2026-07-01, while the published 2026 government calendar does not add a March 15/16 closure; this package follows the published 2026 calendar and future-year packages must refresh the legal transition. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Kazakhstan: Nauryz transfer day. | Kazakhstan: Ordinary weekday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-03-24"} | {"date":"2026-09-14"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/kazakhstan-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/kazakhstan-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-03-24'}, {'date': '2026-09-14'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': "Gregorian date in Kazakhstan's pinned 2026 nationwide published five-day schedule."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'KZ (Kazakhstan).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Kazakhstan nationwide published 2026 five-day public-holiday and transfer schedule'}, 'holiday_policy': {'type': 'string', 'description': 'Kazakhstan_Holidays_Law_267_plus_Government_2026_schedule'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Kazakhstan'}, 'dataset_version': {'type': 'string', 'description': 'kz-gov-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'kazakhstan-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only published 2026 transfer dates are included; no future, employer or unscheduled transfer is inferred'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_lk_working_day
Sri Lanka Working Day
Use this when you need a deterministic Sri Lanka Sri Lanka 2026 public, bank, mercantile and full-moon Poya holiday calendar, plus dated temporary government-office closures result. 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 is a combined official holiday-class calendar, not a universal private-employer closure rule. Public, bank and mercantile classifications remain in each event kind; the March 18, March 25 and April 1 fuel-conservation entries apply to government offices only and the schedule was cancelled effective April 8. Essential services, schools, private employers, sector agreements, local arrangements and later unlisted notices are not inferred. The additional day after the National Vesak Festival is not invented beyond the published May 2 calendar entry. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Sri Lanka: Poya holiday. | Sri Lanka: Temporary government-office Wednesday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-08-27"} | {"date":"2026-03-25"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/sri-lanka-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/sri-lanka-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-08-27'}, {'date': '2026-03-25'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': "Gregorian date in Sri Lanka's pinned 2026 combined public/bank/mercantile holiday coverage over a Saturday-Sunday weekend."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'LK (Sri Lanka).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Sri Lanka 2026 public, bank, mercantile and full-moon Poya holiday calendar, plus dated temporary government-office closures'}, 'holiday_policy': {'type': 'string', 'description': 'Sri_Lanka_Holidays_Act_No_29_of_1971_2026_public_bank_mercantile_and_Poya_calendar'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Sri Lanka'}, 'dataset_version': {'type': 'string', 'description': 'lk-public-bank-mercantile-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'sri-lanka-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_official_dates_only; no next-day or employer-lieu inference; later Gazette or official circular overrides'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_lt_working_day
Lithuania Working Day
Use this when you need a deterministic Lithuania Lithuania 2026 statutory holiday facts over explicit mon_fri_planning result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when lithuania 2026 Labour Code holiday facts with explicit mon_fri_planning or mon_sat_planning. Sixteen full-day statutory holidays; pre-holiday one-hour rules do not create additional rest. No weekend substitution or bridge is inferred. Required work_schedule selects a planning calendar, not a universal personal roster. Actual hours, pay, shifts, local/employer/sector/school/bank schedules, religious personal leave, legal deadlines and future years are not computed. What it computes: Checks whether a date is working in the explicitly selected Lithuania 2026 five-day or six-day planning workweek. Sixteen statutory holidays; conditional one-hour eve markers never add full-day rest. Example user requests: Lithuania: Restoration of the State is a statutory holiday. | Lithuania: August 14 shortening is not full-day rest. | Lithuania: Good Friday is not an Article 123 rest day. | Lithuania: Easter eve depends on selected workweek. Inputs: date (date); work_schedule (enum). Complete JSON argument examples: {"date":"2026-02-16","work_schedule":"mon_fri_planning"} | {"date":"2026-08-14","work_schedule":"mon_fri_planning"} | {"date":"2026-04-03","work_schedule":"mon_fri_planning"} | {"date":"2026-04-04","work_schedule":"mon_fri_planning"} | {"date":"2026-02-16","work_schedule":"mon_sat_planning"} | {"date":"2026-08-14","work_schedule":"mon_sat_planning"} | {"date":"2026-04-03","work_schedule":"mon_sat_planning"} | {"date":"2026-04-04","work_schedule":"mon_sat_planning"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_holiday, is_preholiday_rule_date, is_shortened_workday, statutory_shortening_hours, shortening_scope, working_hours_scope, personal_roster_scope, payroll_scope. Formula: planning_workday = day in selected workweek AND no statutory_holiday_rest; shortened work dates count once Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/lithuania-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/lithuania-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-02-16', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-08-14', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-04-03', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-04-04', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-02-16', 'work_schedule': 'mon_sat_planning'}, {'date': '2026-08-14', 'work_schedule': 'mon_sat_planning'}, {'date': '2026-04-03', 'work_schedule': 'mon_sat_planning'}, {'date': '2026-04-04', 'work_schedule': 'mon_sat_planning'}], 'required': ['date', 'work_schedule'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Lithuania coverage.'}, 'work_schedule': {'enum': ['mon_fri_planning', 'mon_sat_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required mon_fri_planning or mon_sat_planning. Choose the intended baseline explicitly; no universal or personal roster inferred.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday_rest, shortened_workday, weekend_baseline or regular_workday. Rest takes priority on overlapping eve markers.'}, 'territory': {'type': 'string', 'description': 'LT (Lithuania).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit selected five-day or six-day planning workweek.'}, 'calendar_scope': {'type': 'string', 'description': 'Lithuania 2026 statutory holiday facts over explicit mon_fri_planning'}, 'holiday_policy': {'type': 'string', 'description': 'DK_article_123_statutory_rest; article_112_6_conditional_shortening_not_full_rest'}, 'is_working_day': {'type': 'boolean', 'description': 'Working date in the explicitly selected five/six-day baseline; NOT individual attendance.'}, 'territory_name': {'type': 'string', 'description': 'Lithuania'}, 'dataset_version': {'type': 'string', 'description': 'lt-explicit-workweek-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'lithuania-public-holidays'}, 'shortening_scope': {'type': 'string', 'description': 'Required conditions and exceptions to the one-hour rule.'}, 'working_hours_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'is_shortened_workday': {'type': 'boolean', 'description': 'Rule-eve which is also working in selected baseline; no claim of actual hours worked.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is an Article 123 holiday, independent of weekend.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No_weekend_holiday_transfer_to_another_weekday; no_unpublished_bridge'}, 'is_preholiday_rule_date': {'type': 'boolean', 'description': 'Whether result.date immediately precedes a statutory holiday, even on a rest date. A conditional rule, not personal entitlement.'}, 'statutory_shortening_hours': {'type': 'integer', 'description': 'Conditional rule magnitude: 1 on an eve including a rest/holiday eve, otherwise 0. NOT computed hours or entitlement.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_lu_working_day
Luxembourg Working Day
Use this when you need a deterministic Luxembourg Luxembourg 2026-2028 eleven annual statutory holidays with explicit Monday-Friday planning baseline before individualized leave result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when luxembourg 2026-2028 statutory holiday dates over an explicitly selected Monday-Friday planning baseline, BEFORE individual annual or compensatory leave. A holiday on a normally non-worked day may produce compensatory leave depending on the employee's schedule, hours and applicable rules; no compensation date or next-Monday closure is assigned here. Bank-only Good Friday/Christmas Eve afternoon, customary or collectively agreed holidays, school/local/employer/shift schedules, hours, payroll, personal entitlements and legal deadlines are not computed. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2028 authority events. Requires explicit mon_fri_planning; personal compensatory leave and bank-only closures are not computed. Example user requests: Luxembourg: Europe Day is statutory rest. | Luxembourg: No uniform Monday compensation date. | Luxembourg: Bank-only Good Friday is not general statutory rest. Inputs: date (date); work_schedule (enum). Complete JSON argument examples: {"date":"2026-05-09","work_schedule":"mon_fri_planning"} | {"date":"2026-05-11","work_schedule":"mon_fri_planning"} | {"date":"2026-04-03","work_schedule":"mon_fri_planning"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_statutory_non_working_day, holiday_on_baseline_weekend, compensatory_leave_scope, compensatory_date_policy, personal_roster_scope, payroll_scope. Formula: planning_workday = weekday AND no statutory_holiday_rest; individual leave is not deducted Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/luxembourg-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/luxembourg-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-05-09', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-05-11', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-04-03', 'work_schedule': 'mon_fri_planning'}], 'required': ['date', 'work_schedule'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Luxembourg coverage.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline BEFORE individual annual/compensatory leave; not a personal roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday_rest, weekend_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'LU (Luxembourg).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Luxembourg 2026-2028 eleven annual statutory holidays with explicit Monday-Friday planning baseline before individualized leave'}, 'holiday_policy': {'type': 'string', 'description': 'Eleven_L232_2_statutory_holidays_per_year; individualized_compensation_not_computed'}, 'is_working_day': {'type': 'boolean', 'description': 'Planning working date BEFORE personal annual/compensatory leave; not actual attendance.'}, 'territory_name': {'type': 'string', 'description': 'Luxembourg'}, 'dataset_version': {'type': 'string', 'description': 'lu-statutory-calendar-2026-2028.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'luxembourg-public-holidays'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No_uniform_next_Monday_or_compensatory_leave_date_assigned'}, 'compensatory_date_policy': {'type': 'string', 'description': 'Always no_dates_assigned; not a denial of compensatory leave.'}, 'compensatory_leave_scope': {'type': 'string', 'description': 'Always not_computed; personal schedule and applicable rules required.'}, 'holiday_on_baseline_weekend': {'type': 'boolean', 'description': 'Statutory holiday falls on Saturday/Sunday. Calendar fact only, not an individual compensatory entitlement.'}, 'is_statutory_non_working_day': {'type': 'boolean', 'description': 'Whether result.date is one of eleven annual general statutory holiday dates; not personal attendance.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_lv_working_day
Latvia Working Day
Use this when you need a deterministic Latvia Latvia 2026 statutory calendar, explicit statutory_holidays_only and Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when latvia 2026 only. Explicit calendar_basis and work_schedule=mon_fri_planning are required. The transfer basis applies Cabinet Order 330 only when the organization is covered or has adopted it; no private employer adoption is inferred. Section 2 observances do not add rest. Shortening is conditional, not full-day rest. Six-day/shift/personal rosters, other religious calendars, bank/exchange/school opening, payroll, actual hours and legal deadlines are not computed. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Explicit transfer basis and mon_fri_planning required. Separate statutory rest, non-rest observances, transferred work/rest and conditional shortening. Example user requests: Latvia: Mother's Day is statutory even on Sunday. | Latvia: January 2 depends on explicit transfer basis. | Latvia: June 27 depends on explicit transfer basis. Inputs: date (date); calendar_basis (enum); work_schedule (enum). Complete JSON argument examples: {"date":"2026-05-10","calendar_basis":"statutory_holidays_only","work_schedule":"mon_fri_planning"} | {"date":"2026-01-02","calendar_basis":"statutory_holidays_only","work_schedule":"mon_fri_planning"} | {"date":"2026-06-27","calendar_basis":"statutory_holidays_only","work_schedule":"mon_fri_planning"} | {"date":"2026-05-10","calendar_basis":"cabinet_order_330_transfers","work_schedule":"mon_fri_planning"} | {"date":"2026-01-02","calendar_basis":"cabinet_order_330_transfers","work_schedule":"mon_fri_planning"} | {"date":"2026-06-27","calendar_basis":"cabinet_order_330_transfers","work_schedule":"mon_fri_planning"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_basis, work_schedule, is_statutory_holiday, is_non_rest_observance, is_transferred_rest_day, is_transferred_working_day, is_shortened_workday, statutory_shortening_hours, shortening_scope, payroll_scope, personal_roster_scope, working_hours_scope, additional_religious_holidays_scope. Formula: planning_workday = explicit transferred working date OR (weekday AND no statutory/selected transferred rest); shortened dates count once Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/latvia-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/latvia-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-05-10', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'statutory_holidays_only'}, {'date': '2026-01-02', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'statutory_holidays_only'}, {'date': '2026-06-27', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'statutory_holidays_only'}, {'date': '2026-05-10', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'cabinet_order_330_transfers'}, {'date': '2026-01-02', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'cabinet_order_330_transfers'}, {'date': '2026-06-27', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'cabinet_order_330_transfers'}], 'required': ['date', 'calendar_basis', 'work_schedule'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Latvia coverage.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday baseline before any selected Order 330 transfers; not a universal or individual roster.'}, 'calendar_basis': {'enum': ['statutory_holidays_only', 'cabinet_order_330_transfers'], 'type': 'string', 'examples': ['statutory_holidays_only'], 'description': 'Required statutory_holidays_only or cabinet_order_330_transfers. Choose the latter only for a covered institution or an employer adopting the order; never infer adoption.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday_rest, transferred_rest_day, special_working_day, shortened_workday, weekend_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'LV (Latvia).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline, before selected transfers.'}, 'calendar_basis': {'type': 'string', 'description': 'Explicit selected transfer basis; no employer adoption inferred.'}, 'calendar_scope': {'type': 'string', 'description': 'Latvia 2026 statutory calendar, explicit statutory_holidays_only and Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Holiday_Law_section_1_rest_section_2_non_rest; explicit_Cabinet_Order_330_basis'}, 'is_working_day': {'type': 'boolean', 'description': 'Working date in the explicitly selected calendar, including selected transferred Saturdays. Not individual attendance.'}, 'territory_name': {'type': 'string', 'description': 'Latvia'}, 'dataset_version': {'type': 'string', 'description': 'lv-statutory-transfer-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'latvia-public-holidays'}, 'shortening_scope': {'type': 'string', 'description': 'Conditions on the one-hour rule.'}, 'working_hours_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'is_shortened_workday': {'type': 'boolean', 'description': 'Whether result.date carries a conditional normal-working-time shortening rule, not full-day rest.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is a Holiday Law section 1 holiday, excluding transfer-only rest.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only May 4, November 18 and qualifying General Song/Dance Festival closing day have statutory weekend substitution; none triggered in 2026. No blanket substitute Monday.'}, 'is_non_rest_observance': {'type': 'boolean', 'description': 'Whether result.date has a section 2 observance, which itself does not cause rest.'}, 'is_transferred_rest_day': {'type': 'boolean', 'description': 'Rest date under the explicitly selected Order 330 basis.'}, 'is_transferred_working_day': {'type': 'boolean', 'description': 'Working Saturday under the explicitly selected Order 330 basis.'}, 'statutory_shortening_hours': {'type': 'integer', 'description': 'Rule magnitude: one on a shortening date, zero otherwise. Not actual employee hours or entitlement.'}, 'additional_religious_holidays_scope': {'type': 'string', 'description': 'Always not_computed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_mt_working_day
Malta Working Day
Use this when you need a deterministic Malta Malta 2026 fourteen named statutory holidays and Sunday public holidays with explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when malta 2026 named statutory holidays and Sunday public-holiday status over an explicitly selected Monday-Friday planning baseline BEFORE individual annual or compensatory leave. Additional vacation entitlement for a named holiday on a weekly rest day depends on the person's employment and roster; no next-Monday or later leave date is assigned. Bank-only, school, local, employer and shift calendars, hours, payroll, personal entitlements and legal deadlines are not computed. Future years require a separately verified package. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Required mon_fri_planning; named holidays and Sunday statutory status remain distinct. Personal leave and bank-only dates are not computed. Example user requests: Malta: Good Friday is scheduled public rest. | Malta: Ordinary Sunday is public holiday, not a named holiday. | Malta: No invented Monday compensation. Inputs: date (date); work_schedule (enum). Complete JSON argument examples: {"date":"2026-04-03","work_schedule":"mon_fri_planning"} | {"date":"2026-01-04","work_schedule":"mon_fri_planning"} | {"date":"2026-06-08","work_schedule":"mon_fri_planning"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_public_holiday, is_named_statutory_holiday, is_national_holiday, is_other_scheduled_public_holiday, is_sunday_public_holiday, holiday_on_baseline_weekend, sunday_legal_basis, compensatory_leave_scope, personal_roster_scope, payroll_scope, compensatory_date_policy. Formula: planning_workday = Monday_to_Friday AND no named statutory holiday; individual leave is not deducted Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/malta-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/malta-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-04-03', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-01-04', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-06-08', 'work_schedule': 'mon_fri_planning'}], 'required': ['date', 'work_schedule'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Malta coverage.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline BEFORE individual annual/compensatory leave; not personal attendance.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'national_holiday, scheduled_public_holiday, sunday_public_holiday, saturday_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'MT (Malta).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications. Named events only; Sunday status is separately labelled.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date. Named events only; Sunday status is separately labelled.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Malta 2026 fourteen named statutory holidays and Sunday public holidays with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Cap252_five_national_nine_scheduled_plus_Sundays; individualized_leave_not_computed'}, 'is_working_day': {'type': 'boolean', 'description': 'Planning working date BEFORE individual annual or compensatory leave; not actual attendance.'}, 'territory_name': {'type': 'string', 'description': 'Malta'}, 'dataset_version': {'type': 'string', 'description': 'mt-statutory-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published. Named events only; Sunday status is separately labelled.'}, 'calendar_profile': {'type': 'string', 'description': 'malta-public-holidays'}, 'is_public_holiday': {'type': 'boolean', 'description': 'Named statutory holiday OR Sunday under Cap.252. Not actual individual attendance.'}, 'sunday_legal_basis': {'type': 'string', 'description': 'Cap.252 article 5(1) on Sunday; empty otherwise.'}, 'is_national_holiday': {'type': 'boolean', 'description': 'One of five national holidays under Cap.252 articles 2-3.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No_uniform_next_Monday_or_compensatory_leave_date_assigned'}, 'compensatory_date_policy': {'type': 'string', 'description': 'Always no_dates_assigned; not a denial of leave.'}, 'compensatory_leave_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'is_sunday_public_holiday': {'type': 'boolean', 'description': 'Sunday public-holiday status under Cap.252 article 5(1), independently of a named event.'}, 'is_named_statutory_holiday': {'type': 'boolean', 'description': 'One of the fourteen government-listed dates; ordinary Sundays are not named events.'}, 'holiday_on_baseline_weekend': {'type': 'boolean', 'description': 'Named holiday on Saturday/Sunday: calendar fact, NOT personal leave granted.'}, 'is_other_scheduled_public_holiday': {'type': 'boolean', 'description': 'One of nine other dates listed in the Cap.252 Schedule.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_mx_working_day
Mexico Working Day
Use this when you need a deterministic Mexico Mexico Federal Labour Law mandatory rest days result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when article 69 weekly rest is at least one day after six days and the employer/worker schedule is not inferred; sector, state, employer, school and bank calendars are outside scope. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Mexico: Constitution Day observed. Inputs: date (date). Complete JSON argument examples: {"date":"2026-02-02"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/mexico-labor-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/mexico-labor-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-02-02'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Mexico coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'MX (Mexico).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Mexico Federal Labour Law mandatory rest days'}, 'holiday_policy': {'type': 'string', 'description': 'Article 74 mandatory rest days; first/third Mondays are represented by their statutory observed dates'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Mexico'}, 'dataset_version': {'type': 'string', 'description': 'mx-lft-mandatory-rest-days-2026-09-29.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'mexico-labor-rest-days'}, 'substitute_day_policy': {'type': 'string', 'description': 'Election-day and six-year executive-transition dates are not inserted without the applicable electoral/constitutional schedule'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_my_working_day
Malaysia Division Public-Holiday Working Day
Use this when you need a division-specific Malaysian public-holiday result. 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 you need an employer, bank, exchange, school or inferred replacement-day calendar. What it computes: Checks a Malaysian date with a required federal-territory/state division, BKPP/JPM's 2027 public-holiday table and division weekly-rest baseline. Example user requests: Is 2027-02-08 a working day in Kuala Lumpur? | Check 2027-06-06 in Terengganu. Inputs: date (date); division (enum). Complete JSON argument examples: {"date":"2027-02-08","division":"KUL"} Outputs: 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: is_working_day = division weekly baseline and no applicable BKPP event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/malaysia-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/malaysia-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2027-02-08', 'division': 'KUL'}], 'required': ['date', 'division'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-08'], 'description': 'Gregorian date in the pinned 2027 coverage.'}, 'division': {'enum': ['KUL', 'LBN', 'PJY', 'JHR', 'KDH', 'KTN', 'MLK', 'NSN', 'PHG', 'PRK', 'PLS', 'PNG', 'SBH', 'SWK', 'SGR', 'TRG'], 'type': 'string', 'examples': ['KUL'], 'description': 'Required federal-territory/state code: KUL, LBN, PJY, JHR, KDH, KTN, MLK, NSN, PHG, PRK, PLS, PNG, SBH, SWK, SGR or TRG.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official government and legislative sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, official weekend or public holiday.'}, 'division': {'type': 'string', 'description': 'Normalized division code.'}, 'territory': {'type': 'string', 'description': 'MY.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Division weekly-rest baseline.'}, 'division_name': {'type': 'string', 'description': 'Federal territory or state.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Official events applying to the date.'}, 'calendar_scope': {'type': 'string', 'description': "Selected division's federal/state public holidays and weekly baseline."}, 'is_working_day': {'type': 'boolean', 'description': "False for the division's declared weekly baseline or applicable official holiday."}, 'territory_name': {'type': 'string', 'description': 'Malaysia.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned BKPP/JPM 2027 package.'}, 'rest_day_policy': {'type': 'string', 'description': 'Employer roster and replacement-day policy are not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'malaysia-bkpp-public-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'Always false here because no substitute date is inferred.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Replacement dates are not inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_new_zealand_working_day
New Zealand Working Day
Use this when you need a New Zealand national statutory public-holiday result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a regional anniversary, school, bank, exchange or employer calendar. What it computes: Checks a New Zealand date against the Saturday-Sunday baseline and exact 2026-2027 national public holidays, including observed dates. Example user requests: Is 2027-02-08 a New Zealand working day? Inputs: date (date). Complete JSON argument examples: {"date":"2027-02-08"} Outputs: territory, territory_name, weekday, is_working_day, holiday_names, calendar_scope, regional_anniversary_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = Monday-Friday and no exact national public holiday or observed date Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/new-zealand-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/new-zealand-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2027-02-08'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-08'], 'description': 'Gregorian date in New Zealand national 2026-2027 coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official New Zealand Government and Employment New Zealand sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'territory': {'type': 'string', 'description': 'NZ.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'National holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'National statutory public holidays only.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no national statutory holiday.'}, 'territory_name': {'type': 'string', 'description': 'New Zealand.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned New Zealand government package.'}, 'calendar_profile': {'type': 'string', 'description': 'new-zealand-employment-public-holidays.'}, 'regional_anniversary_day_policy': {'type': 'string', 'description': 'Regional anniversary days are not inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_ng_working_day
Nigeria Working Day
Use this when you need a deterministic Nigeria Nigeria 2026 nationwide federal public-holiday calendar over a Saturday-Sunday weekend result. 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 is the nationwide federal public-holiday layer, not a universal private-employer, state, local-government, school, banking, market, diplomatic-mission or sector calendar. Ministry of Interior announcements take precedence over conflicting secondary or diplomatic snapshots for federal dates. Eid dates are lunar and can be amended by later official notice. The Public Holidays Act permits special or substituted dates and explicitly does not create an automatic extra day for a holiday falling on Saturday or Sunday; no replacement day is invented here. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Nigeria: Federal Democracy Day. | Nigeria: Ordinary federal working day. Inputs: date (date). Complete JSON argument examples: {"date":"2026-06-12"} | {"date":"2026-06-16"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/nigeria-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/nigeria-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-06-12'}, {'date': '2026-06-16'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': "Gregorian date in Nigeria's pinned 2026 federal public-holiday coverage over a Saturday-Sunday weekend."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'NG (Nigeria).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Nigeria 2026 nationwide federal public-holiday calendar over a Saturday-Sunday weekend'}, 'holiday_policy': {'type': 'string', 'description': 'Nigeria_Public_Holidays_Act_and_2026_Federal_Government_Announcements'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Nigeria'}, 'dataset_version': {'type': 'string', 'description': 'ng-federal-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'nigeria-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_official_dates_only; no automatic weekend_lieu_day; later federal public notice overrides'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_nl_working_day
Netherlands Working Day
Use this when you need a deterministic Netherlands Netherlands official public holidays for 2026-2027; employee day-off status remains CAO/contract dependent result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when a public holiday is not automatically a paid day off for every Dutch employee. CAO, employment contract, sector, employer, school, bank and municipal schedules are not inferred; Liberation Day arrangements may be five-year/CAO dependent. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Netherlands: King's Day. | Netherlands: Ordinary weekday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-04-27"} | {"date":"2026-04-28"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/netherlands-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/netherlands-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-04-27'}, {'date': '2026-04-28'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Netherlands coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'NL (Netherlands).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Netherlands official public holidays for 2026-2027; employee day-off status remains CAO/contract dependent'}, 'holiday_policy': {'type': 'string', 'description': 'Official public-holiday dates are included; no universal employer closure is inferred because Dutch law leaves the day-off entitlement to the CAO or employment contract.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Netherlands'}, 'dataset_version': {'type': 'string', 'description': 'nl-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'netherlands-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No substitute-day closure is inferred; sector, CAO, employer and alternative-religious-holiday arrangements require separate evidence.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_no_working_day
Norway Working Day
Use this when you need a deterministic Norway Norway nationwide statutory public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when nationwide statutory full-day list only. Christmas Eve, Easter Eve, Whit Eve, New Year's Eve, collective-agreement, employer, sector, school, bank and local closures are not inferred. Norwegian annual-leave law treats Saturdays separately from Sundays and public holidays; this package uses the declared Monday-Friday business baseline. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Norway: Constitution Day. | Norway: Christmas Eve is not a full-day statutory holiday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-05-17"} | {"date":"2026-12-24"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/norway-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/norway-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-05-17'}, {'date': '2026-12-24'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Norway coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'NO (Norway).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Norway nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Norwegian statutory public holidays are included, including 1 May and 17 May under the separate Act; statutory Sundays are represented by the weekend baseline.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Norway'}, 'dataset_version': {'type': 'string', 'description': 'no-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'norway-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a statutory holiday falls on a weekend.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_pe_working_day
Peru Working Day
Use this when you need a deterministic Peru Peru 2026 national_statutory result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when choose calendar_scope and workweek explicitly. National holidays and public-sector compensable days have different applicability. This is a declared five-day (Saturday-Sunday rest) or six-day (Sunday rest) planning calendar, not proof of an individual's roster. Essential services, private-employer adoption, compensating shifts, regional holidays, banking, school, tax and procedural deadline calendars require separate evidence. The two compensable public-sector days remain working days for tax purposes. Later decrees require a new snapshot; dates beyond 2026 are unsupported. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Required calendar_scope and workweek distinguish national holidays from compensable public-sector days and five/six-day rosters. Example user requests: Peru: National layer keeps July bridge open. | Peru: Public-sector July bridge. | Peru: Six-day Saturday. Inputs: date (date); calendar_scope (enum); workweek (integer). Complete JSON argument examples: {"date":"2026-07-27","calendar_scope":"national_statutory","workweek":5} | {"date":"2026-07-27","calendar_scope":"public_sector","workweek":5} | {"date":"2026-09-19","calendar_scope":"national_statutory","workweek":6} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_selection, workweek, compensable_day_details. Formula: working day = outside selected weekly rest and selected holiday layer Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/peru-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/peru-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-07-27', 'workweek': 5, 'calendar_scope': 'national_statutory'}, {'date': '2026-07-27', 'workweek': 5, 'calendar_scope': 'public_sector'}, {'date': '2026-09-19', 'workweek': 6, 'calendar_scope': 'national_statutory'}], 'required': ['date', 'calendar_scope', 'workweek'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Peru coverage.'}, 'workweek': {'type': 'integer', 'maximum': 6, 'minimum': 5, 'examples': [5], 'description': 'Required declared baseline: 5 = Saturday-Sunday rest, 6 = Sunday rest. Confirm the applicable roster.'}, 'calendar_scope': {'enum': ['national_statutory', 'public_sector'], 'type': 'string', 'examples': ['national_statutory'], 'description': 'Required: national_statutory uses 16 national holidays; public_sector also applies the two published compensable days. Neither is a tax or individual employee roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'workweek': {'type': 'integer', 'description': 'User-selected 5 or 6 days per week.'}, 'territory': {'type': 'string', 'description': 'PE (Peru).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Peru 2026 national_statutory'}, 'holiday_policy': {'type': 'string', 'description': 'Peru_2026_national_holidays_with_explicit_public_sector_layer'}, 'is_working_day': {'type': 'boolean', 'description': 'Working under the explicit scope and five-day/six-day baseline.'}, 'territory_name': {'type': 'string', 'description': 'Peru'}, 'dataset_version': {'type': 'string', 'description': 'pe-official-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'peru-public-holidays'}, 'calendar_selection': {'type': 'string', 'description': 'Explicit national_statutory or public_sector layer.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published dates only; no automatic Monday substitution or employer compensation roster is inferred'}, 'compensable_day_details': {'type': 'array', 'description': 'Public-sector bridge-day facts for the classified date, even when excluded from the selected layer.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_ph_working_day
Philippines Working Day
Use this when you need a deterministic Philippines Philippines nationwide presidential-proclamation calendar result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when local-government special holidays, employer schedules and 2027 Eid dates pending a separate proclamation are not inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Philippines: EDSA remains a special working day. | Philippines: Eid'l Adha is a declared holiday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-02-25"} | {"date":"2026-05-27"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/philippines-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/philippines-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-02-25'}, {'date': '2026-05-27'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Philippines coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'PH (Philippines).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Philippines nationwide presidential-proclamation calendar'}, 'holiday_policy': {'type': 'string', 'description': 'Regular, special non-working, additional special non-working and special working classifications are preserved; Eid dates are included only after a dated proclamation.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Philippines'}, 'dataset_version': {'type': 'string', 'description': 'ph-op-proclamations-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'philippines-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No additional substitute-day or local-celebration rule is inferred beyond the published proclamation dates.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_pk_working_day
Pakistan Working Day
Use this when you need a deterministic Pakistan Pakistan 2026 nationwide federal public-holiday layer over a Saturday-Sunday federal-office baseline result. 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 the nationwide federal public-holiday layer only. It is not a universal provincial, territory, private-employer, bank, exchange, school, court, diplomatic-mission or sector calendar. Lunar festival dates are pinned to the later federal notifications available for 2026; conflicting exchange or diplomatic calendars are retained as scoped cross-checks and not generalized. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Pakistan: Pakistan Day. | Pakistan: Ordinary federal working day. Inputs: date (date). Complete JSON argument examples: {"date":"2026-03-23"} | {"date":"2026-10-12"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/pakistan-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/pakistan-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-03-23'}, {'date': '2026-10-12'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': "Gregorian date in Pakistan's pinned 2026 nationwide federal public-holiday coverage over a Saturday-Sunday federal-office baseline."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'PK (Pakistan).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Pakistan 2026 nationwide federal public-holiday layer over a Saturday-Sunday federal-office baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Pakistan_Cabinet_Division_2026_Federal_Public_Holidays_and_Later_Festival_Notifications'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Pakistan'}, 'dataset_version': {'type': 'string', 'description': 'pk-federal-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'pakistan-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_federal_dates_only; no automatic weekend_lieu_day; lunar dates and later Cabinet notifications override the annual estimate'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_pl_working_day
Poland Working Day
Use this when you need a deterministic Poland Poland nationwide statutory public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when nationwide statutory holiday list only. Saturday substitute dates, individual work schedules, employer, sector, school, bank and local schedules are not inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Poland: Christmas Eve. | Poland: Ordinary weekday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-12-24"} | {"date":"2026-10-27"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/poland-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/poland-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-12-24'}, {'date': '2026-10-27'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Poland coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'PL (Poland).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Poland nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': "Poland's statutory named holidays and Sundays are included; regional, employer, school, bank and sector schedules are not inferred."}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Poland'}, 'dataset_version': {'type': 'string', 'description': 'pl-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'poland-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'When a statutory holiday falls on Saturday for a five-day-week employee, an additional day off may be due within the settlement period; the employer and work schedule determine the date, so no substitute date is inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_pt_working_day
Portugal Working Day
Use this when you need a deterministic Portugal Portugal nationwide mandatory public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when mandatory nationwide list only. Municipal, autonomous-region, collective-agreement, employer and locally substituted holiday schedules are not inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Portugal: Portugal Day. | Portugal: Ordinary weekday. Inputs: date (date). Complete JSON argument examples: {"date":"2026-06-10"} | {"date":"2026-10-27"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/portugal-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/portugal-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-06-10'}, {'date': '2026-10-27'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Portugal coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'PT (Portugal).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Portugal nationwide mandatory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Portugal Labour Code mandatory national holidays are included; Carnival Tuesday and municipal holidays are optional and are not inferred.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Portugal'}, 'dataset_version': {'type': 'string', 'description': 'pt-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'portugal-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No substitute-day closure is inferred. Good Friday may be observed on another locally significant Easter-period day under the Labour Code, but no local replacement is selected.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_ro_working_day
Romania Working Day
Use this when you need a deterministic Romania Romania 2026 statutory holiday layer, romanian_orthodox, explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when romania 2026 statutory holiday layer only, with required calendar_basis and work_schedule=mon_fri_planning. The basis selects dates, not a person's identity or religion. No union of Christian calendars, non-Christian additional holidays, public-sector bridge/recovery days, individual rosters, shift exceptions, bank/exchange/school opening, payroll or legal deadlines are computed. Other bases and future years are unsupported. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Explicit calendar_basis and mon_fri_planning required; no union of calendars or personal roster inference. Example user requests: Romania: January 24 remains a statutory holiday even on Saturday. | Romania: Selected-calendar Good Friday. Inputs: date (date); calendar_basis (enum); work_schedule (enum). Complete JSON argument examples: {"date":"2026-01-24","calendar_basis":"romanian_orthodox","work_schedule":"mon_fri_planning"} | {"date":"2026-04-10","calendar_basis":"romanian_orthodox","work_schedule":"mon_fri_planning"} | {"date":"2026-01-24","calendar_basis":"roman_catholic","work_schedule":"mon_fri_planning"} | {"date":"2026-04-03","calendar_basis":"roman_catholic","work_schedule":"mon_fri_planning"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, calendar_basis, work_schedule, is_statutory_holiday, payroll_scope, personal_roster_scope, additional_religious_holidays_scope. Formula: planning_workday = weekday AND no statutory holiday in the explicitly selected calendar_basis Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/romania-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/romania-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-01-24', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'romanian_orthodox'}, {'date': '2026-04-10', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'romanian_orthodox'}, {'date': '2026-01-24', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'roman_catholic'}, {'date': '2026-04-03', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'roman_catholic'}], 'required': ['date', 'calendar_basis', 'work_schedule'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Romania coverage.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline; not an individual or universal legal roster.'}, 'calendar_basis': {'enum': ['romanian_orthodox', 'roman_catholic'], 'type': 'string', 'examples': ['romanian_orthodox'], 'description': "Required date basis: romanian_orthodox or roman_catholic. Do not infer a person's religion or union calendars."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'statutory_fixed_holiday, statutory_calendar_holiday, weekend_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'RO (Romania).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_basis': {'type': 'string', 'description': 'Explicit selected calendar basis; never inferred or combined.'}, 'calendar_scope': {'type': 'string', 'description': 'Romania 2026 statutory holiday layer, romanian_orthodox, explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Labour_Code_article_139_calendar_specific_not_union'}, 'is_working_day': {'type': 'boolean', 'description': 'Working date in the selected planning calendar; no individual roster inference.'}, 'territory_name': {'type': 'string', 'description': 'Romania'}, 'dataset_version': {'type': 'string', 'description': 'ro-statutory-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'romania-public-holidays'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is a holiday in the selected statutory layer.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No automatic substitute Monday, extra coincident-date day or employer bridge inferred'}, 'additional_religious_holidays_scope': {'type': 'string', 'description': 'Always not_computed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_ru_working_day
Russia Working Day
Use this when you need a deterministic Russia Russia federal statutory public holidays and Government-published 2026 transfer days result. 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 the federal statutory/public-holiday layer and the Government-published 2026 transfer days over a Saturday-Sunday baseline. Regional holidays, republic/local holidays, employer, bank, school, shift, sector and collective-agreement schedules are not inferred. Future annual transfer resolutions require a refreshed package. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Russia: Russia New Year's holiday. | Russia: Published transfer day. | Russia: Ordinary Russia working day. Inputs: date (date). Complete JSON argument examples: {"date":"2026-01-05"} | {"date":"2026-01-09"} | {"date":"2026-09-14"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/russia-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/russia-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-01-05'}, {'date': '2026-01-09'}, {'date': '2026-09-14'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': "Gregorian date in Russia's pinned 2026 federal statutory and transfer-day coverage over a Saturday-Sunday weekend."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'RU (Russia).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Russia federal statutory public holidays and Government-published 2026 transfer days'}, 'holiday_policy': {'type': 'string', 'description': 'Russian_Labour_Code_Article_112_plus_Government_Resolution_1466_2026_transfers'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Russia'}, 'dataset_version': {'type': 'string', 'description': 'ru-government-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'russia-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_2026_substitute_and_transfer_dates_only; no regional_or_employer_schedule_inference'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_sa_working_day
Saudi Arabia Working Day
Use this when you need a deterministic Saudi Arabia Saudi Central Bank financial institutions result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when financial-institution scope only. MHRSD business-sector leave, RTGS-specific intervals, government offices, private-employer rosters, Hajj-season branch exceptions and Umm al-Qura forecasts are not inferred. What it computes: Checks a date against the Friday-Saturday weekend baseline and exact 2026-2029 authority events. Example user requests: Saudi Arabia: SAMA Eid Al-Fitr interval. | Saudi Arabia: Friday/Saturday weekly baseline. | Saudi Arabia: National Day Saturday substitution. Inputs: date (date). Complete JSON argument examples: {"date":"2026-03-17"} | {"date":"2026-01-02"} | {"date":"2028-09-24"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Friday/Saturday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/saudi-financial-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/saudi-financial-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-03-17'}, {'date': '2026-01-02'}, {'date': '2028-09-24'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Saudi Arabia coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'SA (Saudi Arabia).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Saudi Central Bank financial institutions'}, 'holiday_policy': {'type': 'string', 'description': 'Exact SAMA financial-institution holiday intervals plus the annual National Day and Founding Day rules.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Saudi Arabia'}, 'dataset_version': {'type': 'string', 'description': 'sa-sama-financial-holidays-2026-2029.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'saudi-sama-financial-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'SAMA states that National Day or Founding Day on Friday moves to Thursday and on Saturday moves to Sunday; the 2028 National Day substitute is included. Other employer or RTGS substitutions are not inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_se_working_day
Sweden Working Day
Use this when you need a deterministic Sweden Sweden nationwide statutory public holidays for 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when nationwide statutory list only. Midsummer Eve, Christmas Eve, New Year's Eve, employer, collective-agreement, sector, school, bank and local closures are not inferred; Sunday is already excluded by the weekday baseline. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Sweden: National Day. | Sweden: Midsummer Eve is not statutory. Inputs: date (date). Complete JSON argument examples: {"date":"2026-06-06"} | {"date":"2026-06-19"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/sweden-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/sweden-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-06-06'}, {'date': '2026-06-19'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Sweden coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'SE (Sweden).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Sweden nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Swedish statutory public holidays under Lag (1989:253), including date-rule holidays; customary equivalent office closures are not inferred.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Sweden'}, 'dataset_version': {'type': 'string', 'description': 'se-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'sweden-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a statutory holiday falls on a weekend.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_singapore_working_day
Singapore Official Public-Holiday Working Day
Use this when you need Singapore national public-holiday status for 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need an employer roster, a non-Sunday weekly rest day, bank/exchange closures, or a year outside the pinned MOM coverage. What it computes: Checks a Singapore date using Ministry of Manpower national public holidays and explicitly published observed dates, with a separate employer-rest-day limitation. Example user requests: Is 2027-02-08 a Singapore working day after Chinese New Year? | Check the Singapore public-holiday status of 2026-08-10. Inputs: date (date). Complete JSON argument examples: {"date":"2027-02-08"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_observed, weekend_days, rest_day_policy, calendar_scope, calendar_profile, source_quality, dataset_version, sources. Formula: is_working_day = CLDR weekday baseline and no MOM public-holiday event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/singapore-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/singapore-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2027-02-08'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-08'], 'description': 'Gregorian date in the pinned MOM 2026-2027 coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official MOM, government open-data and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or MOM public holiday.'}, 'territory': {'type': 'string', 'description': 'SG.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR weekend convention used only as the baseline.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'MOM holiday names applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Singapore national public holidays plus the CLDR Saturday/Sunday baseline.'}, 'is_working_day': {'type': 'boolean', 'description': 'True when the CLDR Saturday/Sunday baseline is a weekday and no included MOM public holiday applies.'}, 'source_quality': {'type': 'string', 'description': 'Official Singapore government sources, with employer-rest-day limitation.'}, 'territory_name': {'type': 'string', 'description': 'Singapore.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned MOM evidence package.'}, 'rest_day_policy': {'type': 'string', 'description': 'Employer-specific weekly rest-day placement is not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'singapore-mom-public-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'True when the source explicitly publishes an observed date.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_si_working_day
Slovenia Working Day
Use this when you need a deterministic Slovenia Slovenia 2026 statutory work-free facts with explicit Monday-Friday planning baseline result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when slovenia 2026 statutory work-free dates over an explicitly selected Monday-Friday planning baseline. Seven named state holidays are not work-free; no extra Monday or bridge day is invented. Individual shifts, replacement weekly rest, employer/local/sector/school/bank schedules, religious leave, payroll, legal deadlines and future years are not computed. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Requires explicit mon_fri_planning; seven named state holidays do not add rest. Example user requests: Slovenia: Easter Monday is statutory rest. | Slovenia: Whit Monday is not Whit Sunday. | Slovenia: Science Day is a state holiday without rest. Inputs: date (date); work_schedule (enum). Complete JSON argument examples: {"date":"2026-04-06","work_schedule":"mon_fri_planning"} | {"date":"2026-05-25","work_schedule":"mon_fri_planning"} | {"date":"2026-11-10","work_schedule":"mon_fri_planning"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, work_schedule, is_state_holiday, is_statutory_non_working_day, is_non_rest_state_holiday, personal_roster_scope, payroll_scope. Formula: planning_workday = weekday AND no statutory_work_free_event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/slovenia-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/slovenia-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-04-06', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-05-25', 'work_schedule': 'mon_fri_planning'}, {'date': '2026-11-10', 'work_schedule': 'mon_fri_planning'}], 'required': ['date', 'work_schedule'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Slovenia coverage.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline; not an individual legal roster.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'state_holiday_rest, other_statutory_rest, weekend_baseline or regular_workday; non-rest state holidays do not add rest.'}, 'territory': {'type': 'string', 'description': 'SI (Slovenia).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Slovenia 2026 statutory work-free facts with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'ZPDPD_articles_1_2_rest_with_seven_non_rest_state_holidays'}, 'is_working_day': {'type': 'boolean', 'description': 'Working date in explicit mon_fri_planning, not individual attendance.'}, 'territory_name': {'type': 'string', 'description': 'Slovenia'}, 'dataset_version': {'type': 'string', 'description': 'si-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'slovenia-public-holidays'}, 'is_state_holiday': {'type': 'boolean', 'description': 'Whether result.date is an article 1 state holiday, whether or not work-free.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Article_3_no_Sunday_transfer; no_unpublished_substitute_or_bridge_inferred'}, 'is_non_rest_state_holiday': {'type': 'boolean', 'description': 'Whether result.date is one of the seven state holidays that do not add rest.'}, 'is_statutory_non_working_day': {'type': 'boolean', 'description': 'Whether result.date is a statutory work-free holiday under article 1 or 2, excluding ordinary weekends.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_sk_working_day
Slovakia Working Day
Use this when you need a deterministic Slovakia Slovakia 2026 national statutory rest-day calendar result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when pinned Slovakia 2026 statutory rest-day layer over an explicitly declared Monday-Friday planning baseline, not an individual roster. The holidays on May 8 and September 15 are not statutory rest days in 2026; September 1, October 28 and November 17 are state holidays without rest under section 2(3). Do not infer substitute Mondays, payroll premiums, leave rights, retail closures, shift, bank, school, employer or future-year schedules. Later legal changes require a new snapshot. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Distinguishes 11 rest-day holidays from five named holidays without statutory rest in 2026. Example user requests: Slovakia: May 8 is a named holiday but a working date. | Slovakia: Good Friday. | Slovakia: November 17 is not statutory rest. Inputs: date (date). Complete JSON argument examples: {"date":"2026-05-08"} | {"date":"2026-04-03"} | {"date":"2026-11-17"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources, holiday_rest_status, payroll_scope. Formula: working = weekday outside the declared weekly rest and outside statutory_rest_holiday dates Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/slovakia-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/slovakia-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-05-08'}, {'date': '2026-04-03'}, {'date': '2026-11-17'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in Slovakia coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'weekend_baseline, regular_workday or statutory_rest_holiday; not an individual roster.'}, 'territory': {'type': 'string', 'description': 'SK (Slovakia).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed; calendar semantics do not decide wage premiums or leave.'}, 'calendar_scope': {'type': 'string', 'description': 'Slovakia 2026 national statutory rest-day calendar'}, 'holiday_policy': {'type': 'string', 'description': 'Act_241_1993_sections_1_2_4b_2026'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday without a statutory_rest_holiday; named non-rest holidays remain working.'}, 'territory_name': {'type': 'string', 'description': 'Slovakia'}, 'dataset_version': {'type': 'string', 'description': 'sk-statutory-rest-days-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'slovakia-public-holidays'}, 'holiday_rest_status': {'type': 'string', 'description': 'Rest classification on result.date; a named holiday alone never implies non-working status.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No next-Monday substitution or employer day off is inferred'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_south_africa_working_day
South Africa Working Day
Use this when you need a South Africa national public-holiday result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need an employer, bargaining-council, school, bank, exchange, provincial or locally exchanged calendar. What it computes: Checks a South African date against the Saturday-Sunday baseline and exact 2026-2027 national public holidays, including the 4 November 2026 election holiday and observed Sunday holidays. Example user requests: Is 2026-11-04 a South Africa working day? Inputs: date (date). Complete JSON argument examples: {"date":"2026-11-04"} Outputs: territory, territory_name, weekday, is_working_day, holiday_names, calendar_scope, employer_schedule_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = Monday-Friday and no exact national public holiday or observed date Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/south-africa-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/south-africa-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-11-04'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-11-04'], 'description': 'Gregorian date in South Africa national 2026-2027 coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official South African Government, legislation and Presidency sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'territory': {'type': 'string', 'description': 'ZA (South Africa).'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'National public holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'National public holidays over a Monday-Friday baseline.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no national public holiday.'}, 'territory_name': {'type': 'string', 'description': 'South Africa.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned South African Government package.'}, 'calendar_profile': {'type': 'string', 'description': 'south-africa-public-holidays.'}, 'employer_schedule_policy': {'type': 'string', 'description': 'Employer-specific exchanges and rest days are not inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_th_working_day
Thailand Working Day
Use this when you need a deterministic Thailand Thailand financial institutions and specialized financial institutions result. 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 is a Bank of Thailand financial-institution calendar, not a universal Thai employee, government, employer, exchange or payment-settlement calendar. Bangkok-only, Islamic-bank and southern-branch conditions remain explicit and are not generalized. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: Thailand: 2027 substitution. | Thailand: Bangkok-only event remains conditional. Inputs: date (date). Complete JSON argument examples: {"date":"2027-02-22"} | {"date":"2026-10-16"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/thailand-financial-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/thailand-financial-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2027-02-22'}, {'date': '2026-10-16'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in the pinned Bank of Thailand 2026-2027 financial-institution coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'TH (Thailand).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Thailand financial institutions and specialized financial institutions'}, 'holiday_policy': {'type': 'string', 'description': 'BOT_published_financial_institution_and_specialized_financial_institution_holidays'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Thailand'}, 'dataset_version': {'type': 'string', 'description': 'th-bot-financial-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'thailand-bot-financial-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'BOT_substitution_events_are_pinned; no new substitution is inferred'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_turkey_working_day
Türkiye Statutory Public-Holiday Working Day
Use this when you need Türkiye national statutory public-holiday status. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a company, school, bank, exchange, collective-agreement or local closure calendar. What it computes: Checks a date against Türkiye's statutory public holidays and explicit 13:00 half-day events for 2026-2027. Example user requests: Is 2027-03-08 a Türkiye working day? | Does 2026-05-26 have a Turkish half-day holiday? Inputs: date (date). Complete JSON argument examples: {"date":"2027-03-08"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, half_day_start_time, non_working_fraction, weekend_days, calendar_scope, half_day_policy, rest_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = Türkiye Saturday/Sunday baseline and no published full-day or half-day statutory holiday Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/turkey-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/turkey-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2027-03-08'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2027-03-08'], 'description': 'Gregorian date in the pinned Türkiye 2026-2027 coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Diyanet and statutory sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend, general holiday or half-day general holiday.'}, 'territory': {'type': 'string', 'description': 'TR.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR Saturday/Sunday baseline.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'full_day or half_day.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Turkish statutory holiday events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Türkiye statutory national public holidays only.'}, 'is_working_day': {'type': 'boolean', 'description': 'False for the Saturday/Sunday baseline, a full statutory holiday, or a published half-day holiday; half-day details are returned separately.'}, 'territory_name': {'type': 'string', 'description': 'Türkiye.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Turkish official evidence package.'}, 'half_day_policy': {'type': 'string', 'description': 'Official 13:00 half-day semantics.'}, 'rest_day_policy': {'type': 'string', 'description': 'Private and sector-specific closures are not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'tr-statutory-public-holidays.'}, 'half_day_start_time': {'type': 'string', 'description': '13:00 when an official half-day applies; empty string otherwise.'}, 'non_working_fraction': {'type': 'number', 'description': '1 for a full-day holiday, 0.5 for a published half-day, and 0 for a regular day.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_tw_working_day
中国台湾省 Working Day
Use this when you need a deterministic 中国台湾省 中国台湾省政府行政機關工作日曆 2026-2027 result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when government administrative-agency scope only. Public enterprises generally follow the calendar, but special agencies, schools, private employers, local arrangements, banks, exchanges and sector schedules are not inferred. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2027 authority events. Example user requests: 中国台湾省: Spring Festival substitute holiday. | 中国台湾省: Government calendar does not mean private-employer closure. Inputs: date (date). Complete JSON argument examples: {"date":"2027-02-09"} | {"date":"2027-05-03"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/taiwan-government-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/taiwan-government-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2027-02-09'}, {'date': '2027-05-03'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'Gregorian date in the official DGPA 2026-2027 government administrative-agency coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'TW (中国台湾省).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': '中国台湾省政府行政機關工作日曆 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'DGPA government administrative-agency non-working dates and published substitute holidays are applied over a Monday-Friday baseline.'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': '中国台湾省'}, 'dataset_version': {'type': 'string', 'description': 'tw-dgpa-government-calendar-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'taiwan-government-work-calendar'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only DGPA-published 2026-2027 substitute dates are applied; no private-employer or local-sector inference.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_uae_federal_working_day
UAE Federal Government Working Day
Use this when you need a UAE federal-government workday or public-holiday result for 2026. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need Sharjah/local-government, private-employer, bank, exchange, school or an unannounced lunar date. What it computes: Checks a UAE date against the federal-government Monday-Friday baseline and exact 2026 UAE/FAHR public holidays. Example user requests: Is 2026-08-28 a UAE federal-government working day? Inputs: date (date). Complete JSON argument examples: {"date":"2026-08-28"} Outputs: territory, territory_name, jurisdiction, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_legal_bases, calendar_scope, private_sector_policy, unresolved_lunar_rules, calendar_profile, dataset_version, sources. Formula: is_working_day = Monday-Friday federal baseline and no exact published public holiday Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/uae-federal-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/uae-federal-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-08-28'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-08-28'], 'description': 'Gregorian date in exact 2026 UAE federal-government coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official UAE Government, legislation and FAHR sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Regular workday, official weekend or public holiday.'}, 'territory': {'type': 'string', 'description': 'AE.'}, 'jurisdiction': {'type': 'string', 'description': 'UAE federal government.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Saturday and Sunday for the federal-government baseline.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Exact-date public holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'UAE federal-government workweek and national public holidays.'}, 'is_working_day': {'type': 'boolean', 'description': 'True for a Monday-Friday date without an included exact public holiday.'}, 'territory_name': {'type': 'string', 'description': 'United Arab Emirates.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned FAHR/UAE Government package.'}, 'calendar_profile': {'type': 'string', 'description': 'uae-fahr-federal-holidays.'}, 'holiday_legal_bases': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Government announcement or Cabinet Resolution basis.'}, 'private_sector_policy': {'type': 'string', 'description': 'Employer weekly rest-day limitation.'}, 'unresolved_lunar_rules': {'type': 'array', 'description': 'Rules still awaiting an official Gregorian date, if any.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_uk_working_day
UK Working Day Checker
Use this when you need to know whether a 2024-2028 UK date is a Monday-Friday working day after applying the official bank holidays for the selected division. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a local council, school, employer, financial-market, emergency-closure or non-UK calendar, or a date outside 2024-2028. What it computes: Checks whether a date is a normal working day in England and Wales, Scotland or Northern Ireland using a pinned snapshot of the official GOV.UK bank-holiday feed. Example user requests: Is 28 December 2026 a working day in England and Wales, or the Boxing Day substitute holiday? | Is Scotland working on 15 June 2026? | Check whether 13 July 2026 is a working day in Northern Ireland. Inputs: date (date); division (enum, optional). Complete JSON argument examples: {"date":"2026-12-28","division":"england-and-wales"} | {"date":"2026-06-15","division":"scotland"} Outputs: date, weekday, division, division_name, is_working_day, day_type, bank_holiday_name, bank_holiday_notes, status_basis, source_url, licence, dataset_version, coverage_start, coverage_end, source_snapshot_sha256. Formula: official bank-holiday event → non-working; else Saturday/Sunday → non-working; else Monday-Friday → working Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/uk-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/uk-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-12-28', 'division': 'england-and-wales'}, {'date': '2026-06-15', 'division': 'scotland'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-28'], 'description': 'UK civil date in YYYY-MM-DD format, within 2024-2028.'}, 'division': {'enum': ['england-and-wales', 'scotland', 'northern-ireland'], 'type': 'string', 'default': 'england-and-wales', 'examples': ['england-and-wales'], 'description': 'GOV.UK bank-holiday division. England and Wales share one official list; Scotland and Northern Ireland have separate lists.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'date': {'type': 'string', 'format': 'date', 'description': 'Checked civil date.'}, 'licence': {'type': 'string', 'description': 'Reuse licence for GOV.UK content.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'bank_holiday, regular_weekend or regular_weekday.'}, 'division': {'type': 'string', 'description': 'Canonical GOV.UK division id.'}, 'source_url': {'type': 'string', 'description': 'Official GOV.UK JSON source.'}, 'coverage_end': {'type': 'string', 'format': 'date', 'description': 'Last supported date in this pinned package.'}, 'status_basis': {'type': 'string', 'description': 'Evidence-based explanation for the classification.'}, 'division_name': {'type': 'string', 'description': 'Human-readable UK division.'}, 'coverage_start': {'type': 'string', 'format': 'date', 'description': 'First supported date in this pinned package.'}, 'is_working_day': {'type': 'boolean', 'description': 'True only for Monday-Friday dates not listed as a bank holiday.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Calcgrid snapshot version of the GOV.UK bank-holiday package.'}, 'bank_holiday_name': {'type': 'string', 'description': 'Official event title when the date is a bank holiday; otherwise empty.'}, 'bank_holiday_notes': {'type': 'string', 'description': 'GOV.UK notes such as Substitute day; otherwise empty.'}, 'source_snapshot_sha256': {'type': 'string', 'description': 'SHA-256 of the complete official GOV.UK JSON response used for this package.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_us_federal_working_day
US Federal Holiday Working Day
Use this when you need US federal employee or federal-office holiday status for 2026-2027. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a state/local/private-employer/exchange calendar or an alternate federal work schedule without explicit in-lieu resolution. What it computes: Checks a date against the OPM federal-employee holiday schedule and the US Saturday/Sunday baseline. Example user requests: Is 2027-07-05 a US federal working day? Inputs: date (date). Complete JSON argument examples: {"date":"2027-07-05"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_observed, holiday_actual_dates, weekend_days, rest_day_policy, calendar_scope, calendar_profile, source_quality, dataset_version, sources. Formula: is_working_day = US weekday baseline and no OPM federal holiday Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/us-federal-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/us-federal-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2027-07-05'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2027-07-05'], 'description': 'Gregorian date in the pinned OPM 2026-2027 coverage.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official OPM, federal guidance and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or OPM federal holiday.'}, 'territory': {'type': 'string', 'description': 'US.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR Saturday/Sunday baseline.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'OPM federal holiday names applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Federal employees and federal offices only.'}, 'is_working_day': {'type': 'boolean', 'description': 'True when the US Saturday/Sunday baseline is a weekday and no OPM federal holiday applies.'}, 'source_quality': {'type': 'string', 'description': 'Official OPM schedule and federal-law references.'}, 'territory_name': {'type': 'string', 'description': 'United States.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned OPM evidence package.'}, 'rest_day_policy': {'type': 'string', 'description': 'OPM alternative work schedules need separate in-lieu resolution.'}, 'calendar_profile': {'type': 'string', 'description': 'us-opm-federal-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'True when the date is the OPM in-lieu/observed date for a holiday whose actual date is a weekend.'}, 'holiday_actual_dates': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Underlying statutory holiday dates for observed events.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_uzbekistan_working_day
Uzbekistan Working Day
Use this when you need an auditable nationwide Uzbekistan 2026 result and know the workweek variant. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when workweek is unknown, or the roster is continuous, shift-based, employer-specific, bank, school or sector-specific. What it computes: Checks a date against Uzbekistan's 2026 statutory holidays and the selected five-day or six-day workweek transfer schedule. Example user requests: Is 2026-12-31 a working day in Uzbekistan for a five-day workweek? | Check 2026-05-30 for a six-day workweek. Inputs: date (date); workweek (integer). Complete JSON argument examples: {"date":"2026-12-31","workweek":5} | {"date":"2026-05-30","workweek":6} Outputs: territory, territory_name, workweek, weekly_rest_model, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_kinds, holiday_details, calendar_scope, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: apply selected weekly-rest baseline, statutory events and PF-257 workweek-specific transfers Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/uzbekistan-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/uzbekistan-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-12-31', 'workweek': 5}, {'date': '2026-05-30', 'workweek': 6}], 'required': ['date', 'workweek'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Gregorian date in the pinned 2026 coverage.'}, 'workweek': {'type': 'integer', 'maximum': 6, 'minimum': 5, 'examples': [5], 'description': 'Required official schedule variant: 5 for Saturday-Sunday rest, or 6 for Sunday-only rest.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and cross-check sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Official weekend, statutory holiday, additional rest, transferred rest, special working day or regular workday.'}, 'workweek': {'type': 'integer', 'description': 'Selected five-day or six-day workweek.'}, 'territory': {'type': 'string', 'description': 'UZ.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Selected weekly-rest baseline.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Structured event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Official events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Nationwide 2026 statutory and PF-257 schedule scope.'}, 'is_working_day': {'type': 'boolean', 'description': 'Whether the date is working under the selected official workweek variant.'}, 'territory_name': {'type': 'string', 'description': 'Uzbekistan.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned package version.'}, 'holiday_details': {'type': 'array', 'description': 'Events with legal basis.'}, 'calendar_profile': {'type': 'string', 'description': 'uzbekistan-public-holidays.'}, 'weekly_rest_model': {'type': 'string', 'description': 'Weekly rest baseline applied.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published transfers only; no employer/shift inference.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
check_vn_working_day
Vietnam Working Day
Use this when you need a deterministic Vietnam Vietnam public-sector 2026 holiday schedule and nationwide statutory paid holidays result. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when public-sector and statutory paid-holiday layer only; private-employer, non-Saturday/Sunday workweeks, provincial, sector, bank, school and employer schedules are not inferred. The proposed four-day 2026 Vietnam Cultural Day public-sector arrangement is not encoded until finally approved. What it computes: Checks a date against the Saturday-Sunday weekend baseline and exact 2026-2026 authority events. Example user requests: Vietnam: New Year transfer. | Vietnam: Vietnam Cultural Day. Inputs: date (date). Complete JSON argument examples: {"date":"2026-01-10"} | {"date":"2026-11-24"} Outputs: territory, territory_name, weekday, is_working_day, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: is_working_day = not an official Saturday/Sunday weekend date and no exact authority event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/vietnam-public-working-day with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/vietnam-public-working-day.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-01-10'}, {'date': '2026-11-24'}], 'required': ['date'], 'properties': {'date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': "Gregorian date in Vietnam's pinned 2026 public-sector/statutory holiday coverage."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'VN (Vietnam).'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Vietnam public-sector 2026 holiday schedule and nationwide statutory paid holidays'}, 'holiday_policy': {'type': 'string', 'description': 'Vietnam_2026_public_sector_schedule_plus_statutory_paid_holidays'}, 'is_working_day': {'type': 'boolean', 'description': 'Monday-Friday with no event in this pinned authority scope.'}, 'territory_name': {'type': 'string', 'description': 'Vietnam'}, 'dataset_version': {'type': 'string', 'description': 'vn-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'vietnam-public-holidays'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_2026_transfers_only; private_employer_options_and_unapproved_proposals_not_inferred'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
compare_loans
Loan Comparison Calculator
Use this when you have two loan or mortgage quotes with different rates, terms or fees for the same amount and want the payments and lifetime costs side by side. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you are replacing an existing loan (use refinance-break-even), only need one loan's payment (use loan-payment), or will sell or repay early (this compares full-term costs and ignores the time value of money). Informational; not financial advice. What it computes: Compares two fixed-rate, fully amortizing loan offers for the same amount: the level monthly payment, total interest, up-front fees and total cost (interest + fees) of each, and which offer costs less over its full term. Example user requests: Compare a 300000 loan at 6% for 30 years with 3000 in fees against 5.5% for 15 years with 5000 in fees. | Which of these two fixed-rate offers has the lower lifetime interest and fees? | 同样贷款30万元,方案A年利率6%期限30年,方案B年利率5.5%期限15年,比较月供和总成本。 Inputs: loan_amount (number); rate_a_percent (number, %); term_a_years (number, years); fees_a (number, optional); rate_b_percent (number, %); term_b_years (number, years); fees_b (number, optional). Complete JSON argument examples: {"loan_amount":300000,"rate_a_percent":6,"term_a_years":30,"fees_a":3000,"rate_b_percent":5.5,"term_b_years":15,"fees_b":5000} | {"loan_amount":25000,"rate_a_percent":7,"term_a_years":5,"rate_b_percent":6,"term_b_years":6,"fees_b":500} Outputs: payment_a, payment_b, total_interest_a, total_interest_b, total_cost_a, total_cost_b, cheaper_loan, monthly_payment_difference, total_cost_difference, comparison, summary. Formula: For each loan: i = rate/1200, n = 12 × term_years, payment = loan_amount × i / (1 − (1 + i)^−n) (loan_amount / n if i = 0); total_interest = payment × n − loan_amount; total_cost = total_interest + fees. cheaper_loan = the loan with the lower total_cost; monthly_payment_difference = payment_a − payment_b; total_cost_difference = total_cost_a − total_cost_b Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/loan-comparison with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/finance/loan-comparison.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'fees_a': 3000, 'fees_b': 5000, 'loan_amount': 300000, 'term_a_years': 30, 'term_b_years': 15, 'rate_a_percent': 6, 'rate_b_percent': 5.5}, {'fees_b': 500, 'loan_amount': 25000, 'term_a_years': 5, 'term_b_years': 6, 'rate_a_percent': 7, 'rate_b_percent': 6}], 'required': ['loan_amount', 'rate_a_percent', 'term_a_years', 'rate_b_percent', 'term_b_years'], 'properties': {'fees_a': {'type': 'number', 'default': 0, 'maximum': 1000000000, 'minimum': 0, 'examples': [3000], 'description': 'Up-front fees of loan A (origination, points, closing costs), paid separately rather than financed.'}, 'fees_b': {'type': 'number', 'default': 0, 'maximum': 1000000000, 'minimum': 0, 'examples': [5000], 'description': 'Up-front fees of loan B.'}, 'loan_amount': {'type': 'number', 'maximum': 1000000000000, 'examples': [300000], 'description': 'Amount borrowed under both offers.', 'exclusiveMinimum': 0}, 'term_a_years': {'type': 'number', 'x-unit': 'years', 'maximum': 100, 'examples': [30], 'description': 'Term of loan A in years (fractions allowed; rounded to whole months). Unit: years.', 'exclusiveMinimum': 0}, 'term_b_years': {'type': 'number', 'x-unit': 'years', 'maximum': 100, 'examples': [15], 'description': 'Term of loan B in years. Unit: years.', 'exclusiveMinimum': 0}, 'rate_a_percent': {'type': 'number', 'x-unit': '%', 'maximum': 100, 'minimum': 0, 'examples': [6], 'description': 'Annual nominal rate of loan A in percent; the monthly rate is this / 12. Unit: %.'}, 'rate_b_percent': {'type': 'number', 'x-unit': '%', 'maximum': 100, 'minimum': 0, 'examples': [5.5], 'description': 'Annual nominal rate of loan B in percent. Unit: %.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'summary': {'type': 'string', 'description': 'Plain-language comparison of payment and lifetime cost.'}, 'payment_a': {'type': 'number', 'description': 'Level monthly payment of loan A (annuity formula).'}, 'payment_b': {'type': 'number', 'description': 'Level monthly payment of loan B.'}, 'comparison': {'type': 'array', 'description': 'Two rows: loan, rate_percent, term_years, monthly_payment, total_interest, fees, total_cost.'}, 'cheaper_loan': {'type': 'string', 'description': '"A", "B" or "equal" by total cost (interest + fees), compared to the cent.'}, 'total_cost_a': {'type': 'number', 'description': 'total_interest_a + fees_a: what loan A costs beyond repaying the principal.'}, 'total_cost_b': {'type': 'number', 'description': 'total_interest_b + fees_b.'}, 'total_interest_a': {'type': 'number', 'description': 'payment_a × months_a − loan_amount.'}, 'total_interest_b': {'type': 'number', 'description': 'payment_b × months_b − loan_amount.'}, 'total_cost_difference': {'type': 'number', 'description': 'total_cost_a − total_cost_b (positive = loan A costs more over its full term).'}, 'monthly_payment_difference': {'type': 'number', 'description': 'payment_a − payment_b (positive = loan A has the higher monthly payment).'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
convert_betting_odds
Odds Converter
Use this when you have odds in one format and need the other two, the implied probability of a price, or the payout of a stake at those odds. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need the combined price of several selections (use parlay-odds), the value of a bet given your own probability estimate (use bet-expected-value), or a bookmaker's margin across a whole market (use arbitrage-bet). Mathematics only; not gambling advice. What it computes: Converts betting odds between American (moneyline), decimal (European) and fractional (UK) formats, auto-detecting the input format, and reports the implied probability, profit and total return for a stake. Inputs: odds (string); format (enum, optional); stake (number, optional). Complete JSON argument examples: {"odds":"+150"} | {"odds":"-200","format":"auto","stake":100} Outputs: american, decimal, fractional, implied_probability_percent [%], profit_on_stake, total_return, detected_format. Formula: decimal = 1 + american/100 (american > 0) or 1 + 100/|american| (american < 0); decimal = 1 + a/b (fractional a/b); american = +100·(decimal − 1) if decimal ≥ 2, else −100/(decimal − 1); fractional = (decimal − 1) reduced with the GCD; implied_probability_percent = 100/decimal; total_return = stake × decimal Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/odds-converter with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/gaming/odds-converter.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'odds': '+150'}, {'odds': '-200', 'stake': 100, 'format': 'auto'}], 'required': ['odds'], 'properties': {'odds': {'type': 'string', 'examples': ['+150'], 'maxLength': 20, 'description': 'Odds in any format: American +150 or -200, decimal 2.50, fractional 3/2 or 3-2, or evens.'}, 'stake': {'type': 'number', 'default': 100, 'maximum': 1000000000, 'examples': [100], 'description': 'Stake used for the profit and return outputs (any currency).', 'exclusiveMinimum': 0}, 'format': {'enum': ['auto', 'american', 'decimal', 'fractional'], 'type': 'string', 'default': 'auto', 'examples': ['auto'], 'description': 'Format of the odds input. Auto: a/b or a-b with digits on both sides is fractional, a sign or an integer of 100 or more is American, anything else is decimal.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'decimal': {'type': 'number', 'description': 'Total return per unit staked, including the stake.'}, 'american': {'type': 'string', 'description': 'Moneyline price with sign, rounded to a whole number: +X wins X per 100 staked, -X needs X staked to win 100.'}, 'fractional': {'type': 'string', 'description': 'Profit/stake as a fraction reduced with the GCD, exactly equal to decimal − 1.'}, 'total_return': {'type': 'number', 'description': 'stake × decimal (profit plus the returned stake).'}, 'detected_format': {'type': 'string', 'description': 'Format the input was parsed as (american, decimal or fractional).'}, 'profit_on_stake': {'type': 'number', 'description': 'stake × (decimal − 1).'}, 'implied_probability_percent': {'type': 'number', 'x-unit': '%', 'description': '100 / decimal: the break-even win probability the price implies (includes the bookmaker margin). Unit: %.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
convert_lunar_to_solar
Lunar to Solar Date Converter
Use this when you know a lunar date such as 八月十五 or 闰六月初一 of a given lunar year and need the Gregorian date (e.g. for a lunar birthday or festival). Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you start from a Gregorian date (use lunar-calendar-converter), or you want every festival of a year at once (use chinese-festivals). What it computes: Converts a Chinese lunar calendar date (year, month, leap-month flag, day) to the Gregorian date, reporting the weekday, the day's ganzhi (干支) and the length of that lunar month, and validating that the leap month and day exist in that year. Example user requests: What Gregorian date is lunar 2026 month 8 day 15? | 2025 年农历闰六月初一对应公历哪一天? | Convert a Chinese lunar birthday to its Gregorian date and verify the leap-month flag. Inputs: lunar_year (integer); lunar_month (integer); is_leap_month (boolean, optional); lunar_day (integer). Complete JSON argument examples: {"lunar_year":2026,"lunar_month":8,"is_leap_month":false,"lunar_day":15} | {"lunar_year":2025,"lunar_month":6,"is_leap_month":true,"lunar_day":1} Outputs: gregorian_date, weekday, day_ganzhi, month_days, lunar_date_chinese, month_name, year_ganzhi, zodiac, julian_day_number, leap_month_note. Formula: JDN = start of the lunar month (new-moon day at UTC+8) + lunar_day − 1; month numbering per GB/T 33661-2017 (month 11 contains the winter solstice; leap month = first month without a 中气) Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/lunar-to-solar with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/lunar/lunar-to-solar.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'lunar_day': 15, 'lunar_year': 2026, 'lunar_month': 8, 'is_leap_month': False}, {'lunar_day': 1, 'lunar_year': 2025, 'lunar_month': 6, 'is_leap_month': True}], 'required': ['lunar_year', 'lunar_month', 'lunar_day'], 'properties': {'lunar_day': {'type': 'integer', 'maximum': 30, 'minimum': 1, 'examples': [15], 'description': 'Day of the lunar month, 1–30 (day 30 exists only in 30-day months).'}, 'lunar_year': {'type': 'integer', 'maximum': 2100, 'minimum': 1900, 'examples': [2026], 'description': "Lunar year number (the year that starts at that year's Chinese New Year), 1900–2100."}, 'lunar_month': {'type': 'integer', 'maximum': 12, 'minimum': 1, 'examples': [8], 'description': 'Lunar month number 1 (正月) to 12 (腊月).'}, 'is_leap_month': {'type': 'boolean', 'default': False, 'examples': [False], 'description': 'true when the date is in the intercalary month of that number (only valid in years that have that leap month).'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'zodiac': {'type': 'string', 'description': 'Zodiac animal of the lunar year.'}, 'weekday': {'type': 'string', 'description': 'Day of the week.'}, 'day_ganzhi': {'type': 'string', 'description': 'Sexagenary day with pinyin, e.g. 壬寅 (Renyin).'}, 'month_days': {'type': 'integer', 'description': 'Length of the requested lunar month (29 or 30).'}, 'month_name': {'type': 'string', 'description': 'Traditional month name, prefixed 闰 for a leap month.'}, 'year_ganzhi': {'type': 'string', 'description': 'Sexagenary year with pinyin, e.g. 丙午 (Bingwu).'}, 'gregorian_date': {'type': 'string', 'format': 'date', 'description': 'Gregorian civil date (China Standard Time).'}, 'leap_month_note': {'type': 'string', 'description': 'Which leap month the lunar year has (if any), so a wrong is_leap_month flag can be corrected.'}, 'julian_day_number': {'type': 'integer', 'description': 'Julian Day Number of the Gregorian date.'}, 'lunar_date_chinese': {'type': 'string', 'description': 'Written form, e.g. 二〇二六年八月十五.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
convert_solar_to_lunar
Lunar Calendar Converter (农历)
Use this when you need the Chinese lunar date, ganzhi day/month/year, zodiac year or current solar term for a given Gregorian date (defaults to today). Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you start from a lunar date and need the Gregorian date (use lunar-to-solar), need a person's zodiac with the 立春 boundary option (use chinese-zodiac), or need the astronomical moon phase (use moon-phase). What it computes: Converts a Gregorian date to the Chinese lunisolar calendar (农历 nongli): lunar year, month (with leap-month flag), day, the sexagenary stems and branches (干支 ganzhi) of year, month and day, zodiac animal, nayin (纳音), the current 24-solar-term period and any traditional festival on that day. Example user requests: Convert 2026-09-25 to the Chinese lunar calendar and say whether it is a leap month. | 把 2025-07-25 换成农历,并给出干支和节气。 | Which Chinese lunar festival falls on this Gregorian date? Inputs: date (date, optional). Complete JSON argument examples: {"date":"2026-09-24"} | {"date":"2025-07-25"} Outputs: lunar_year, lunar_month, is_leap_month, lunar_day, lunar_date_chinese, lunar_date_text, month_name, day_name, month_days, leap_month_this_year, year_ganzhi, year_ganzhi_pinyin, year_english, zodiac, nayin_year, month_ganzhi, month_ganzhi_pinyin, day_ganzhi, day_ganzhi_pinyin, weekday, current_solar_term, next_solar_term, days_to_next_term [days], is_solar_term_day, festival, julian_day_number. Formula: lunar month = interval between successive new moons (instants at 120° E, UTC+8); month 11 contains the winter solstice; a leap month is the first month without a major solar term (中气) in a 13-month solstice-to-solstice suite; year_ganzhi index = (lunar_year − 4) mod 60; day_ganzhi index = (JDN + 49) mod 60; month branch = 寅 from 立春, one branch per odd solar term Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/lunar-calendar-converter with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/lunar/lunar-calendar-converter.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-09-24'}, {'date': '2025-07-25'}], 'properties': {'date': {'type': 'string', 'format': 'date', 'default': 'today', 'examples': ['2026-09-24'], 'description': 'Civil date in China Standard Time (UTC+8), 1900–2100; defaults to the current UTC date.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'zodiac': {'type': 'string', 'description': 'Zodiac animal of the lunar year with its character, e.g. Horse (马).'}, 'weekday': {'type': 'string', 'description': 'Day of the week.'}, 'day_name': {'type': 'string', 'description': 'Traditional day name (初一 … 三十).'}, 'festival': {'type': 'string', 'description': 'Traditional festival(s) on this day (春节, 元宵节, 龙抬头, 上巳节, 端午节, 七夕, 中元节, 中秋节, 重阳节, 寒衣节, 下元节, 腊八节, 小年, 除夕, 清明节, 冬至) or "none".'}, 'lunar_day': {'type': 'integer', 'description': 'Day of the lunar month, 1–30.'}, 'day_ganzhi': {'type': 'string', 'description': 'Sexagenary day (continuous 60-day cycle; 1949-10-01 = 甲子).'}, 'lunar_year': {'type': 'integer', 'description': 'Lunar year number (the year that began at the preceding Chinese New Year).'}, 'month_days': {'type': 'integer', 'description': 'Length of this lunar month (29 or 30).'}, 'month_name': {'type': 'string', 'description': 'Traditional month name (正月 … 腊月, prefixed 闰 for a leap month).'}, 'nayin_year': {'type': 'string', 'description': 'Nayin melodic element of the year ganzhi, e.g. 天河水 · Milky-way Water.'}, 'lunar_month': {'type': 'integer', 'description': 'Lunar month number 1–12.'}, 'year_ganzhi': {'type': 'string', 'description': 'Sexagenary year of the lunar year, e.g. 丙午.'}, 'month_ganzhi': {'type': 'string', 'description': 'Sexagenary month by solar-term months (节气月): 寅 month starts at 立春, stems by the 五虎遁 rule.'}, 'year_english': {'type': 'string', 'description': 'Stem element and zodiac animal, e.g. Fire Horse.'}, 'is_leap_month': {'type': 'boolean', 'description': 'true when the date falls in an intercalary month (闰月 runyue).'}, 'lunar_date_text': {'type': 'string', 'description': 'Readable form, e.g. 8th lunar month, day 14 (八月十四).'}, 'next_solar_term': {'type': 'string', 'description': 'Next solar term and its date.'}, 'day_ganzhi_pinyin': {'type': 'string', 'description': 'Pinyin of the day ganzhi.'}, 'days_to_next_term': {'type': 'integer', 'x-unit': 'days', 'description': 'Days until the next solar term. Unit: days.'}, 'is_solar_term_day': {'type': 'boolean', 'description': 'true when the date is itself a solar-term day.'}, 'julian_day_number': {'type': 'integer', 'description': 'Julian Day Number of the civil date.'}, 'current_solar_term': {'type': 'string', 'description': 'Solar-term period the date falls in and the date it began.'}, 'lunar_date_chinese': {'type': 'string', 'description': 'Written form, e.g. 二〇二六年八月十四.'}, 'year_ganzhi_pinyin': {'type': 'string', 'description': 'Pinyin of the year ganzhi, e.g. Bingwu.'}, 'month_ganzhi_pinyin': {'type': 'string', 'description': 'Pinyin of the month ganzhi.'}, 'leap_month_this_year': {'type': 'integer', 'description': 'Number of the leap month in this lunar year, 0 when the year has none.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
convert_temperature
Temperature Converter
Use this when you need a weather, cooking, body or laboratory temperature in another scale, e.g. Fahrenheit to Celsius or Celsius to Kelvin. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need to convert a temperature difference (a change of 10 °C is 18 °F, not 50 °F: multiply by 9/5 without the offset) or heat energy (use energy). What it computes: Converts temperatures between Celsius, Fahrenheit, Kelvin and Rankine with the exact defining relations (°F = °C × 9/5 + 32, K = °C + 273.15, °R = °F + 459.67) and rejects values below absolute zero. Inputs: value (number); from_unit (enum); to_unit (enum). Complete JSON argument examples: {"value":100,"from_unit":"F","to_unit":"C"} | {"value":25,"from_unit":"C","to_unit":"F"} Outputs: result, result_text, formula, factor, conversion_table. Formula: °F = °C × 9/5 + 32; °C = (°F − 32) × 5/9; K = °C + 273.15; °R = °F + 459.67 = K × 9/5 Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/temperature with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/conversion/temperature.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'value': 100, 'to_unit': 'C', 'from_unit': 'F'}, {'value': 25, 'to_unit': 'F', 'from_unit': 'C'}], 'required': ['value', 'from_unit', 'to_unit'], 'properties': {'value': {'type': 'number', 'examples': [100], 'description': 'Amount to convert, expressed in from_unit.'}, 'to_unit': {'enum': ['C', 'F', 'K', 'R'], 'type': 'string', 'examples': ['C'], 'description': 'Unit to convert into (same symbols as from_unit).'}, 'from_unit': {'enum': ['C', 'F', 'K', 'R'], 'type': 'string', 'examples': ['F'], 'description': 'Unit of the input value. Accepted symbols: C, F, K, R; spelled-out names and common abbreviations are accepted too.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'factor': {'type': 'number', 'description': 'Multiplier from from_unit to to_unit (result = value × factor); absent for non-linear conversions.'}, 'result': {'type': 'number', 'description': 'Converted value expressed in to_unit (rounded to 6 decimals; see result_text for very small or very large values).'}, 'formula': {'type': 'string', 'description': 'Relation used, e.g. "1 mi = 1.609344 km".'}, 'result_text': {'type': 'string', 'description': 'The conversion as text with 6 significant figures, e.g. "5 mi = 8.04672 km".'}, 'conversion_table': {'type': 'object', 'description': 'The input value expressed in every supported temperature unit (6 significant figures), keyed by unit symbol.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
convert_time_zone
Time Zone Converter
Use this when you need to know what time an event scheduled in one city corresponds to in another city or in UTC on a specific date. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need the same instant in many zones at once (use world-clock), an epoch value (use unix-timestamp), or the elapsed time between two clock times (use time-duration). What it computes: Converts a wall-clock date and time between IANA zones using pinned tzdb 2026d. It reports both offsets, the UTC instant, date changes, the source-time status and every candidate UTC instant when the input falls in a repeated hour. Example user requests: Convert 2027-01-15 09:00 America/New_York to Australia/Adelaide and show both dates. | 把 2026-07-15 09:00 纽约时间换成阿德莱德时间。 | What UTC instant corresponds to 2026-10-04 01:45 in Australia/Adelaide? Inputs: date (date, optional); time (string); from_zone (string); to_zone (string); resolution_policy (enum, optional). Complete JSON argument examples: {"date":"2026-09-23","time":"09:00","from_zone":"Australia/Adelaide","to_zone":"America/New_York"} | {"date":"2026-07-04","time":"12:00","from_zone":"America/Los_Angeles","to_zone":"Asia/Kolkata"} Outputs: converted_date, converted_time, converted_datetime, converted_weekday, from_utc_offset, to_utc_offset, from_abbreviation, to_abbreviation, utc_datetime, day_difference [days], time_difference_hours [h], source_time_status, source_candidate_utc_datetimes, applied_resolution_policy, tzdb_version, dataset_version, source_url, source_sha256. Formula: utc = date + time − offset_from(date, time); converted = utc + offset_to(utc); time_difference_hours = (offset_to − offset_from) / 60 Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/time-zone-converter with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/time/time-zone-converter.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'date': '2026-09-23', 'time': '09:00', 'to_zone': 'America/New_York', 'from_zone': 'Australia/Adelaide'}, {'date': '2026-07-04', 'time': '12:00', 'to_zone': 'Asia/Kolkata', 'from_zone': 'America/Los_Angeles'}], 'required': ['time', 'from_zone', 'to_zone'], 'properties': {'date': {'type': 'string', 'format': 'date', 'default': 'today', 'examples': ['2026-09-23'], 'description': 'Calendar date of the source time in from_zone (YYYY-MM-DD); defaults to the current UTC date.'}, 'time': {'type': 'string', 'pattern': '^([01]?\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d)?$', 'examples': ['09:00'], 'maxLength': 8, 'description': 'Wall-clock time in from_zone, 24-hour HH:MM (seconds optional).'}, 'to_zone': {'type': 'string', 'examples': ['America/New_York'], 'maxLength': 64, 'description': 'IANA time zone to convert to, e.g. America/New_York or Asia/Tokyo.'}, 'from_zone': {'type': 'string', 'examples': ['Australia/Adelaide'], 'maxLength': 64, 'description': 'IANA time zone of the source time, e.g. Australia/Adelaide, Europe/Berlin or UTC.'}, 'resolution_policy': {'enum': ['reject', 'earlier', 'later', 'shift_forward'], 'type': 'string', 'default': 'reject', 'examples': ['reject'], 'description': 'How to handle a repeated or nonexistent source wall time. reject is safest; earlier/later choose a repeated-time candidate; shift_forward moves a skipped time by the DST gap.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'source_url': {'type': 'string', 'description': 'Version-specific official IANA release URL.'}, 'tzdb_version': {'type': 'string', 'description': 'Pinned IANA release used for this result.'}, 'utc_datetime': {'type': 'string', 'description': 'The same instant in UTC (ISO 8601).'}, 'source_sha256': {'type': 'string', 'description': 'SHA-256 of the official IANA tzdata release artifact.'}, 'to_utc_offset': {'type': 'string', 'description': 'UTC offset of to_zone at that instant (±HH:MM).'}, 'converted_date': {'type': 'string', 'format': 'date', 'description': 'Calendar date in to_zone.'}, 'converted_time': {'type': 'string', 'description': 'Wall-clock time in to_zone (HH:MM).'}, 'day_difference': {'type': 'integer', 'x-unit': 'days', 'description': 'converted_date minus date: −1, 0 or +1. Unit: days.'}, 'dataset_version': {'type': 'string', 'description': 'Immutable Calcgrid time-zone evidence-package version.'}, 'from_utc_offset': {'type': 'string', 'description': 'UTC offset of from_zone at that instant (±HH:MM).'}, 'to_abbreviation': {'type': 'string', 'description': 'Short zone name of to_zone at that instant.'}, 'converted_weekday': {'type': 'string', 'description': 'Day of the week of converted_date.'}, 'from_abbreviation': {'type': 'string', 'description': 'Short zone abbreviation from the pinned IANA data build (for example EDT).'}, 'converted_datetime': {'type': 'string', 'description': 'ISO 8601 date-time in to_zone including its UTC offset.'}, 'source_time_status': {'type': 'string', 'description': 'unique, ambiguous or nonexistent under the pinned transition table.'}, 'time_difference_hours': {'type': 'number', 'x-unit': 'h', 'description': 'to_zone offset minus from_zone offset at that instant; positive when to_zone is ahead. Unit: h.'}, 'applied_resolution_policy': {'type': 'string', 'description': 'unique, earlier, later or shift_forward.'}, 'source_candidate_utc_datetimes': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Every UTC instant that matches the source wall time; two values for a repeated time and none for a gap.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
convert_units
Convert units
Use this when the user asks to convert a numeric value between units of the same physical quantity: length, mass, temperature, area, volume, speed, time, data, energy, pressure, power, angle, fuel economy, force, frequency, density or torque. Unit symbols and common names are accepted. Do not use this for currency, live exchange rates or cross-quantity conversions that require density. Returns the converted value, detected quantity, exact factor and a conversion table.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['value', 'from_unit', 'to_unit'], 'properties': {'value': {'type': 'number', 'description': 'Value to convert.'}, 'to_unit': {'type': 'string', 'description': "Target unit symbol or name, e.g. 'km'."}, 'from_unit': {'type': 'string', 'description': "Source unit symbol or name, e.g. 'mi', 'miles', '°C'."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'additionalProperties': True}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_ar_working_days
Count Argentina Working Days
Use this when you need an auditable Argentina 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 provincial, municipal, employer, bank, exchange, school, sector and religion-specific schedules are not generalized; regional one-off holidays are not included in this nationwide default. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Argentina working days around Argentina national holiday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/argentina-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/argentina-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'AR (Argentina).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Argentina nationwide national holidays and published tourism non-working days for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Argentina.gob.ar 2026 national calendar; religious/community non-working days are retained but are not universal closures'}, 'territory_name': {'type': 'string', 'description': 'Argentina'}, 'dataset_version': {'type': 'string', 'description': 'ar-national-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'argentina-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published 2026 transferred dates are included; future or Saturday/Sunday transfers are not inferred because authority selection remains explicit'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_at_working_days
Count Austria Working Days
Use this when you need an auditable Austria 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 nationwide statutory holiday list only. Werktag is not uniform across Austrian legal domains; Saturday treatment, provincial patron days, school, bank, employer and sector schedules are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Austria working days around Austrian National Day. | Count Austria working days around Ordinary weekday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/austria-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/austria-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'AT (Austria).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Austria nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': "Austria's nationwide statutory public holidays are included; provincial patron-saint days, school holidays and employer/sector closures are not inferred."}, 'territory_name': {'type': 'string', 'description': 'Austria'}, 'dataset_version': {'type': 'string', 'description': 'at-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'austria-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No substitute-day closure is inferred for a holiday falling on Sunday; Austrian holiday-rest and Sunday-rest rules remain distinct from an invented next-working-day closure.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_australia_working_days
Count Australia State/Territory Working Days
Use this when you need an auditable state/territory 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 the division is unknown or the task requires a local/employer/exchange calendar. What it computes: Counts working and non-working dates for a selected Australian state or territory in 2026-2027. Example user requests: Count NSW working days from 2026-04-20 to 2026-05-04. 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":"2026-04-20","end_date":"2026-05-04","division":"nsw","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, limited_or_part_day_events, calendar_scope, calendar_profile, source_quality, regional_policy, dataset_version. Formula: for each included date: working_days += selected status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/australia-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/australia-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'division': 'nsw', 'end_date': '2026-05-04', 'start_date': '2026-04-20', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date', 'division'], 'properties': {'division': {'enum': ['act', 'nsw', 'nt', 'qld', 'sa', 'tas', 'vic', 'wa'], 'type': 'string', 'examples': ['nsw'], 'description': 'Required Australian state/territory code: act, nsw, nt, qld, sa, tas, vic or wa.'}, 'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-05-04'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-04-20'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or public holiday.'}, 'division': {'type': 'string', 'description': 'Normalized state/territory code.'}, 'territory': {'type': 'string', 'description': 'AU.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR baseline weekend.'}, 'working_days': {'type': 'integer', 'description': 'Working dates counted.'}, 'division_name': {'type': 'string', 'description': 'State/territory name.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Full-day public holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'State/territory-wide full-day public holidays plus weekly baseline.'}, 'is_working_day': {'type': 'boolean', 'description': 'True when the date is not a weekend or included full-day state/territory public holiday.'}, 'source_quality': {'type': 'string', 'description': 'Official government sources with state/territory scope.'}, 'territory_name': {'type': 'string', 'description': 'Australia.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Fair Work package.'}, 'regional_policy': {'type': 'string', 'description': 'Limited-event policy.'}, 'calendar_profile': {'type': 'string', 'description': 'australia-fairwork-public-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'True when an additional/substitute date is explicitly listed.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and full-day public-holiday dates.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Full-day state/territory events in range.'}, 'limited_or_part_day_events': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Regional, partial-day, public-service-only or otherwise limited events that do not close the full division by default.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_bd_working_days
Count Bangladesh Working Days
Use this when you need an auditable Bangladesh 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 government/public-office schedule only; private-employer, bank, school, industrial-zone, essential-service, regional hill-district, optional-religious and later unlisted ad hoc schedules are not inferred. February 10 is not included because the reported later holiday was industrial-zone specific. Lunar dates may be revised by a later official notice. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Bangladesh working days around Election-period special holiday. | Count Bangladesh working days around Eid-ul-Adha period. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-03-19","end_date":"2026-03-23","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/bangladesh-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/bangladesh-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-03-23', 'start_date': '2026-03-19', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'BD (Bangladesh).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Bangladesh 2026 government public-office holiday schedule plus later election-period national closures'}, 'holiday_policy': {'type': 'string', 'description': 'Bangladesh_2026_MOPA_public_office_schedule_plus_election_amendment'}, 'territory_name': {'type': 'string', 'description': 'Bangladesh'}, 'dataset_version': {'type': 'string', 'description': 'bd-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'bangladesh-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'government_notification_dates_only; lunar_dates_may_change; regional_optional_and_employer_rules_not_inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_be_working_days
Count Belgium Working Days
Use this when you need an auditable Belgium 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 private-sector statutory core only; substitute dates, public-service/community/regional holidays, sector agreements, employer, school, bank and municipal schedules are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Belgium working days around Belgian National Day. | Count Belgium working days around Ordinary weekday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/belgium-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/belgium-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'BE (Belgium).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Belgium ten statutory private-sector public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'The ten statutory Belgian labour public holidays are included; the public-sector, community, regional, sector and employer calendars are not substituted into this national core.'}, 'territory_name': {'type': 'string', 'description': 'Belgium'}, 'dataset_version': {'type': 'string', 'description': 'be-legal-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'belgium-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': "No substitute-day closure is inferred. If a statutory holiday coincides with Sunday or an undertaking's ordinary inactivity day, the substitute day is fixed by the competent joint committee or undertaking."}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_bg_working_days
Count Bulgaria Working Days
Use this when you need an auditable Bulgaria 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 bulgaria 2026 nationwide statutory holidays, observed non-attendance days and January 2 one-off rest over an explicitly selected Monday-Friday planning baseline. November 1 is education-only and does not add general rest. No personal, shift, school, employer, bank/exchange, optional religious-leave, payroll or legal-deadline schedule is computed. Future years and additional local/sector closures are unsupported. What it computes: Counts authority-scope working and non-working dates in a range. Requires explicit mon_fri_planning; education-only holidays do not create general rest. Example user requests: Count Bulgaria working days around One-off euro transition rest, not statutory holiday. | Count Bulgaria working days around May 24 Sunday replacement. | Count Bulgaria working days around No nationwide school-holiday substitute. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-04-09","end_date":"2026-04-14","work_schedule":"mon_fri_planning"} 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, work_schedule, is_statutory_holiday, is_observed_non_attendance_day, is_one_off_non_attendance_day, is_education_only_holiday, observed_for_dates, payroll_scope. Formula: planning_workday = weekday AND no nationwide statutory/observed/one-off rest event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/bulgaria-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/bulgaria-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-04-14', 'start_date': '2026-04-09', 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'end_date', 'work_schedule'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline, not a universal legal roster.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday, observed_non_attendance_day, one_off_non_attendance_day, weekend_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'BG (Bulgaria).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed; holiday and non-attendance pay rules differ.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Bulgaria 2026 nationwide rest-day facts with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Labour_Code_154_statutory_observed_and_Council_one_off_non_attendance'}, 'territory_name': {'type': 'string', 'description': 'Bulgaria'}, 'dataset_version': {'type': 'string', 'description': 'bg-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'bulgaria-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'observed_for_dates': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Original statutory holiday dates for observed non-attendance, or an empty list.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is one of the 14 general-scope article 154(1) dates; excludes education-only November 1 and non-attendance substitutes.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Article_154_2_non_Easter_weekend_replacement_pinned_2026_dates'}, 'public_holidays_counted': {'type': 'array', 'description': 'Event dates including education-only annotations; this list length is not a general rest-day count.'}, 'is_education_only_holiday': {'type': 'boolean', 'description': 'November 1 education-only annotation; not extra general rest.'}, 'is_one_off_non_attendance_day': {'type': 'boolean', 'description': 'Whether result.date is January 2, 2026 one-off non-attendance.'}, 'is_observed_non_attendance_day': {'type': 'boolean', 'description': 'Whether result.date is a pinned article 154(2) observed rest date.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_br_working_days
Count Brazil Working Days
Use this when you need an auditable Brazil 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 is not a universal Brazilian private-employer calendar; state, municipal, sector, employer and private payroll schedules are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Brazil working days around Tiradentes. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/brazil-federal-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/brazil-federal-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'BR (Brazil).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Brazil federal executive public administration (SIPEC)'}, 'holiday_policy': {'type': 'string', 'description': 'Portaria MGI federal public-administration national holidays and ponto facultativo events; optional events are preserved as federal-scope optional days'}, 'territory_name': {'type': 'string', 'description': 'Brazil'}, 'dataset_version': {'type': 'string', 'description': 'br-mgi-federal-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'brazil-federal-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No private-sector, state or municipal substitute-day rule is inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_canada_federal_working_days
Count Canada Federal Working Days
Use this when you need an auditable Canada federal baseline count for a pinned year. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need provincial, private-employer or schedule-specific substitute-day semantics. What it computes: Counts baseline working and non-working dates for federally regulated-employer general holidays in 2026-2027. Example user requests: Count Canada federal working days from 2026-09-28 to 2026-10-02. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-09-28","end_date":"2026-10-02","include_start_date":true,"include_end_date":true} Outputs: normalized_start_date, normalized_end_date, working_days, non_working_days, federal_general_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_observed, holiday_actual_dates, weekend_days, rest_day_policy, substitute_day_policy, calendar_scope, calendar_profile, dataset_version, sources. Formula: for each included date: working_days += Canada federal status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/canada-federal-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/canada-federal-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-10-02', 'start_date': '2026-09-28', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-02'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-09-28'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Canada.ca and Canada Labour Code sources.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or Canada federal general holiday.'}, 'territory': {'type': 'string', 'description': 'CA.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR Saturday/Sunday baseline.'}, 'working_days': {'type': 'integer', 'description': 'Canada federal baseline working dates.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Canada Labour Code general holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Federally regulated employers only.'}, 'territory_name': {'type': 'string', 'description': 'Canada.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Canada.ca evidence package.'}, 'rest_day_policy': {'type': 'string', 'description': 'Scheduled-workday and employer substitution rules are not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'canada-federal-general-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'False because substitute dates depend on schedule and agreement and are not inferred.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and Canada federal general-holiday dates.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint.'}, 'holiday_actual_dates': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Actual general-holiday dates.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Canada.ca rule summary with schedule-dependent boundary.'}, 'federal_general_holidays_counted': {'type': 'array', 'description': 'Canada general holidays in range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_china_working_days
Mainland China Working Days Between Dates
Use this when you need the number of official mainland China working days in a 2024-2026 date range for an SLA, payroll, project or delivery estimate. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need only elapsed calendar days, another jurisdiction, an industry-specific settlement calendar, or dates outside 2024-2026. What it computes: Counts official mainland China working and non-working days in a date range using State Council holiday periods and weekend makeup workdays rather than a simple Monday-Friday rule. Example user requests: How many official China working days are there from 2026-09-18 through 2026-09-25, inclusive? | 计算2026年国庆节前后这段日期中实际需要上班的天数,要包含调休周末。 | Count mainland China business days between 2025-01-24 and 2025-02-10. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-09-18","end_date":"2026-09-25","include_start_date":true,"include_end_date":true} Outputs: normalized_start_date, normalized_end_date, working_days [working days], non_working_days [days], calendar_days_counted [days], adjusted_workdays_counted, holiday_dates_counted [days], source_document_ids, dataset_version, coverage_start, coverage_end. Formula: for each included date: working_days += is_working_day(date); non_working_days += not is_working_day(date) Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/china-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/china-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-09-25', 'start_date': '2026-09-18', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-09-25'], 'description': 'Last date of the range (YYYY-MM-DD), within 2024-2026. Earlier dates are normalized and reported in a note.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-09-18'], 'description': 'First date of the range (YYYY-MM-DD), within 2024-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates in the count.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates in the count.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'coverage_end': {'type': 'string', 'format': 'date', 'description': 'Last supported date in this package.'}, 'working_days': {'type': 'integer', 'x-unit': 'working days', 'description': 'Official working dates in the selected inclusive/exclusive range. Unit: working days.'}, 'coverage_start': {'type': 'string', 'format': 'date', 'description': 'First supported date in this package.'}, 'dataset_version': {'type': 'string', 'description': 'Version of the source-traceable mainland China work-calendar package.'}, 'non_working_days': {'type': 'integer', 'x-unit': 'days', 'description': 'Official holiday-period dates and regular weekends in the selected range. Unit: days.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint after normalization.'}, 'source_document_ids': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Official notice identifiers used across the range.'}, 'calendar_days_counted': {'type': 'integer', 'x-unit': 'days', 'description': 'Total dates included after endpoint rules. Unit: days.'}, 'holiday_dates_counted': {'type': 'integer', 'x-unit': 'days', 'description': 'Dates inside official holiday periods that were counted as non-working. Unit: days.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint after normalization.'}, 'adjusted_workdays_counted': {'type': 'array', 'description': 'Weekend makeup workdays included in the count.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_ch_working_days
Count Switzerland Working Days
Use this when you need an auditable Switzerland 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 federal layer only. Cantonal public holidays, municipal holidays, employer, collective-agreement, school, bank and exchange schedules are not inferred; Swiss law permits cantons to recognize additional holidays. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Switzerland working days around Swiss National Day. | Count Switzerland working days around Cantonal holiday is not inferred. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-08-01","end_date":"2026-08-01","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/switzerland-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/switzerland-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-08-01', 'start_date': '2026-08-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'CH (Switzerland).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Switzerland federal public holiday layer for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Swiss National Day on 1 August is included as the only federal public holiday.'}, 'territory_name': {'type': 'string', 'description': 'Switzerland'}, 'dataset_version': {'type': 'string', 'description': 'ch-federal-public-holiday-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'switzerland-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when 1 August falls on a weekend.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_cl_working_days
Count Chile Working Days
Use 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
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-04-06', 'start_date': '2026-04-02', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'CL (Chile).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Chile nationwide statutory/public holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Chile_Ley_2977_plus_related_statutory_and_labour_rules'}, 'territory_name': {'type': 'string', 'description': 'Chile'}, 'dataset_version': {'type': 'string', 'description': 'cl-national-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'chile-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_2026_Ley_19668_and_Ley_20299_weekday_rules_are_included; future_or_regional_transfers_are_not_inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_co_working_days
Count Colombia Working Days
Use this when you need an auditable Colombia 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 Colombia's nationwide statutory paid-rest holiday layer over a Saturday-Sunday baseline. Municipal, departmental, school, bank, employer, sector and local patron-saint schedules are not inferred. Future annual calendars require refreshed official evidence. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Colombia working days around Colombia transferred Three Kings holiday. | Count Colombia working days around Colombia Good Friday. | Count Colombia working days around Ordinary Colombia working 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-01-01","end_date":"2026-01-13","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/colombia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/colombia-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-13', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'CO (Colombia).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Colombia nationwide statutory paid-rest public holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Colombia_Ley_51_1983_plus_Ministry_of_Finance_2026_calendar'}, 'territory_name': {'type': 'string', 'description': 'Colombia'}, 'dataset_version': {'type': 'string', 'description': 'co-government-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'colombia-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_2026_Ley_51_Monday_transfers_are_included; future_or_local_transfers_are_not_inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_cz_working_days
Count Czech Republic Working Days
Use this when you need an auditable Czech Republic 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 czech Republic 2026 statutory rest-day facts over an explicitly selected Monday-Friday planning baseline. This is not a universal legal weekly roster. No shift, individual employer, bank/exchange, school, retail opening, payroll or legal-deadline schedule is computed. Commemorative days do not add rest; no substitute Monday is inferred. Future-year coverage is not asserted. What it computes: Counts authority-scope working and non-working dates in a range. Requires explicit mon_fri_planning; commemorative events do not create rest. Example user requests: Count Czech Republic working days around Two names on January 1, one rest date. | Count Czech Republic working days around Education commemorative day remains a planning workday. | Count Czech Republic working days around November 17 is a Czech statutory rest day. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-04-02","end_date":"2026-04-07","work_schedule":"mon_fri_planning"} 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, work_schedule, is_state_holiday, is_other_holiday, is_statutory_holiday, is_commemorative_day, payroll_scope. Formula: planning_workday = weekday AND no state_holiday AND no other_holiday Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/czech-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/czech-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-04-07', 'start_date': '2026-04-02', 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'end_date', 'work_schedule'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline, not a statutory universal roster.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'state_holiday, other_holiday, weekend_baseline or regular_workday; commemorations alone do not add rest.'}, 'territory': {'type': 'string', 'description': 'CZ (Czech Republic).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Czech Republic 2026 statutory holidays with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Act_245_2000_sections_1_2_3_rest_section_4_commemorative'}, 'territory_name': {'type': 'string', 'description': 'Czech Republic'}, 'dataset_version': {'type': 'string', 'description': 'cz-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'czech-public-holidays'}, 'is_other_holiday': {'type': 'boolean', 'description': 'Whether result.date is a section 2 other holiday.'}, 'is_state_holiday': {'type': 'boolean', 'description': 'Whether result.date is a section 1 state holiday.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'is_commemorative_day': {'type': 'boolean', 'description': 'Whether result.date has a section 4 event effective at that occurrence; does not add rest.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is a statutory holiday under section 1 or 2.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No automatic substitute Monday inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Calendar event dates including commemorations; this list length is not a rest-day count.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_de_working_days
Count Germany Working Days
Use this when you need an auditable Germany 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 state, municipal, school, bank, TARGET, transport-system, collective-agreement and employer-specific schedules are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Germany working days around German Unity Day. | Count Germany working days around Ordinary weekday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/germany-national-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/germany-national-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'DE (Germany).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Germany nationwide statutory public holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Only the nine holidays listed by the Bundesbank as valid for the entire Federal Republic are included; state-specific holidays are not inserted.'}, 'territory_name': {'type': 'string', 'description': 'Germany'}, 'dataset_version': {'type': 'string', 'description': 'de-national-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'germany-national-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a holiday falls on a weekend.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_dk_working_days
Count Denmark Working Days
Use this when you need an auditable Denmark 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 nationwide statutory list only. Collective-agreement, employer, sector, school, bank, local and customary half-day closures are not inferred; Store Bededag is not a holiday from 2024 onward. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Denmark working days around Ascension Day. | Count Denmark working days around Constitution Day is not a statutory holiday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/denmark-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/denmark-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'DK (Denmark).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Denmark nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': "Danish nationwide statutory public holidays are included; May 1, Constitution Day, Christmas Eve and New Year's Eve are explicitly not inferred as public holidays."}, 'territory_name': {'type': 'string', 'description': 'Denmark'}, 'dataset_version': {'type': 'string', 'description': 'dk-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'denmark-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No substitute-day closure is inferred when a statutory holiday falls on a weekend.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_ee_working_days
Count Estonia Working Days
Use this when you need an auditable Estonia 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 estonia 2026 statutory rest facts over an explicitly selected Monday-Friday planning baseline. Sixteen national-importance dates do not add rest. Four dates carry a conditional three-hour shortening rule but still count as one planning working date, not a half-day or full-day holiday. No substitute or bridge is invented. Individual shifts, actual working hours, opening hours, employer/local/sector/school/bank schedules, replacement weekly rest, payroll, legal deadlines and future years are not computed. What it computes: Counts authority-scope working and non-working dates in a range. Requires explicit mon_fri_planning; national-importance dates and three-hour shortening never add full-day rest. Example user requests: Count Estonia working days around Independence Day is statutory rest. | Count Estonia working days around Shortened working date is not full-day rest. | Count Estonia working days around National importance does not imply rest. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-06-22","end_date":"2026-06-25","work_schedule":"mon_fri_planning"} 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, work_schedule, is_statutory_non_working_day, is_day_of_national_importance, is_shortened_workday, statutory_shortening_hours, shortening_scope, working_hours_scope, personal_roster_scope, payroll_scope, shortened_work_dates_counted, shortened_work_date_count. Formula: planning_workday = weekday AND no statutory_full_day_rest_event; shortened working dates count once Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/estonia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/estonia-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-06-25', 'start_date': '2026-06-22', 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'end_date', 'work_schedule'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline; not an individual legal roster.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'national_holiday_rest, public_holiday_rest, shortened_workday, weekend_baseline or regular_workday; observances do not add rest.'}, 'territory': {'type': 'string', 'description': 'EE (Estonia).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Estonia 2026 statutory rest and conditional shortening facts with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'PTS_sections_1_2_rest; section_3_observances_non_rest; ECA_53_shortening_not_full_rest'}, 'territory_name': {'type': 'string', 'description': 'Estonia'}, 'dataset_version': {'type': 'string', 'description': 'ee-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'estonia-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'shortening_scope': {'type': 'string', 'description': 'Conditions and limits of shortening.'}, 'working_hours_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'is_shortened_workday': {'type': 'boolean', 'description': 'Whether result.date carries the conditional ECA 53 shortening rule; not full-day rest.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No_unpublished_substitute_or_bridge_day_inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Event dates including non-rest observances and shortening; list length is not a full-day holiday count.'}, 'shortened_work_date_count': {'type': 'integer', 'description': 'Count of included shortened dates, not hours.'}, 'statutory_shortening_hours': {'type': 'integer', 'description': 'Three on a shortening-rule date, zero otherwise. Rule magnitude only, NOT computed individual hours or entitlement.'}, 'is_statutory_non_working_day': {'type': 'boolean', 'description': 'Whether result.date is a statutory full-day rest holiday under PTS sections 1-2, excluding ordinary weekends.'}, 'shortened_work_dates_counted': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Included shortened dates, each already counted as one working day.'}, 'is_day_of_national_importance': {'type': 'boolean', 'description': 'Whether result.date is a PTS section 3 observance without extra rest.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_eg_working_days
Count Egypt Working Days
Use this when you need an auditable Egypt 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 the official nationwide public-holiday layer published for Egyptian government/public-sector scope. Private employers, banks, schools, diplomatic missions, exchanges, local or sector calendars may differ and are not inferred. Friday-Saturday is the ordinary weekend baseline; special remote-work or operating-hour decisions are not treated as holidays. Islamic dates and later Prime Minister decisions require a refreshed package. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Egypt working days around Eid al-Fitr public holiday. | Count Egypt working days around Ordinary Egypt working 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-03-19","end_date":"2026-03-23","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/egypt-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/egypt-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-03-23', 'start_date': '2026-03-19', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'EG (Egypt).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Egypt 2026 official public-holiday layer for ministries, government bodies, public authorities, local administration and public-sector/public-business companies'}, 'holiday_policy': {'type': 'string', 'description': 'Egypt_Presidency_2026_official_holiday_table_plus_Prime_Minister_public_sector_notices'}, 'territory_name': {'type': 'string', 'description': 'Egypt'}, 'dataset_version': {'type': 'string', 'description': 'eg-official-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'egypt-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_2026_dates_only; no future_lunar_or_unannounced_substitute_day_inference'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_es_working_days
Count Spain Working Days
Use this when you need an auditable Spain 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 the remaining national, autonomous-community, Ceuta/Melilla and up to two municipal local holidays require a jurisdiction-specific calendar. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Spain working days around National Day. | Count Spain working days around Ordinary weekday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/spain-national-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/spain-national-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'ES (Spain).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Spain nationwide national non-substitutable labour holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Only national non-substitutable holidays from the BOE calendar are included; autonomous-community and local holidays are not inserted.'}, 'territory_name': {'type': 'string', 'description': 'Spain'}, 'dataset_version': {'type': 'string', 'description': 'es-national-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'spain-national-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Autonomous-community substitution choices and local compensatory arrangements are not inferred.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_fi_working_days
Count Finland Working Days
Use this when you need an auditable Finland 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 nationwide full-day public-holiday layer only. Midsummer Eve, Christmas Eve, employer, collective-agreement, sector, school, bank, Åland, Sámi and local closures are not inferred; private-sector annual-leave counting may treat Saturdays and certain eves differently. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Finland working days around Independence Day. | Count Finland working days around Midsummer Eve is agreement-dependent. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/finland-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/finland-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'FI (Finland).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Finland nationwide church and national full-day public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Finnish church and national public holidays are included; Midsummer Eve and Christmas Eve are not treated as nationwide statutory full-day holidays because their paid-day status is commonly agreement-dependent.'}, 'territory_name': {'type': 'string', 'description': 'Finland'}, 'dataset_version': {'type': 'string', 'description': 'fi-nationwide-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'finland-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a public holiday falls on a weekend.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_fr_working_days
Count France Working Days
Use this when you need an auditable France 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 alsace-Moselle, overseas territories, employer, sector, school, bank, exchange and regional calendars are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count France working days around Bastille 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-01-01","end_date":"2026-01-01","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/france-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/france-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'FR (France).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'France national legal public holidays'}, 'holiday_policy': {'type': 'string', 'description': 'Article L3133-1 national legal list; May 1 has special mandatory-rest protection while other holidays can be worked under applicable collective/employer rules'}, 'territory_name': {'type': 'string', 'description': 'France'}, 'dataset_version': {'type': 'string', 'description': 'fr-legifrance-public-holidays-2026-09-29.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'france-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No national substitute-day closure is inferred; Alsace-Moselle and local/sector rules require separate authority evidence'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_gh_working_days
Count Ghana Working Days
Use this when you need an auditable Ghana 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 the nationwide statutory/public-holiday layer only. It is not a universal private-employer, bank, exchange, school, local, sector or essential-service calendar. The 2026 package uses observed dates published or cross-checked for 2026; lunar dates and later Executive Instruments may change. It does not treat the pre-Act-1142 4 August Founder’s Day or 2025-era September naming as current law, and it does not infer additional closure days from the legal anchors alone. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Ghana working days around Republic Day observed. | Count Ghana working days around Ordinary Ghana working 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-03-20","end_date":"2026-03-23","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/ghana-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/ghana-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-03-23', 'start_date': '2026-03-20', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'GH (Ghana).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Ghana 2026 nationwide statutory/public-holiday layer over a Saturday-Sunday weekend'}, 'holiday_policy': {'type': 'string', 'description': 'Ghana_Public_Holidays_Act_Act_1142_and_2026_Ministry_of_Interior_Notices'}, 'territory_name': {'type': 'string', 'description': 'Ghana'}, 'dataset_version': {'type': 'string', 'description': 'gh-national-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'ghana-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_observed_dates_only; Act_1142_midweek_and_weekend_rules_are_not_inferred_without_a_2026_notice'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_global_public_holiday_working_days
Count Global Public-Holiday Reference Working Days
Use this when you need a source-labelled nationwide public-holiday reference count for a supported country and regional or substitute-day semantics are not required. 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 range needs a direct official authority, regional/local or employer calendar, substitute-day rules, or dates outside 2026-2028. What it computes: Counts working and non-working dates in a 2026-2028 range using CLDR weekends plus included nationwide OpenHolidays public events. Example user requests: Count reference working days in France from 2026-05-01 through 2026-05-15. Inputs: start_date (date); end_date (date); territory (enum); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-05-01","end_date":"2026-05-15","territory":"FR","include_start_date":true,"include_end_date":true} Outputs: normalized_start_date, normalized_end_date, working_days [working days], non_working_days [days], calendar_days_counted [days], public_holidays_counted, territory, territory_name, weekend_days, holiday_names, holiday_policy, calendar_scope, calendar_profile, substitute_day_policy, source_quality, dataset_version, coverage_start, coverage_end, source_commit. Formula: for each included date: working_days += reference status.is_working_day; non_working_days += not is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-public-holiday-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/global-public-holiday-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-05-15', 'territory': 'FR', 'start_date': '2026-05-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date', 'territory'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-05-15'], 'description': 'Last date in 2026-2028.'}, 'territory': {'enum': ['AD', 'AL', 'AT', 'BE', 'BG', 'BY', 'CH', 'CZ', 'DE', 'EE', 'ES', 'FR', 'HR', 'HU', 'IE', 'IT', 'LI', 'LT', 'LU', 'LV', 'MC', 'MD', 'MT', 'MX', 'NL', 'PL', 'PT', 'RO', 'RS', 'SE', 'SI', 'SK', 'SM', 'VA', 'ZA'], 'type': 'string', 'pattern': '^[A-Z]{2}$', 'examples': ['DE'], 'maxLength': 2, 'description': 'ISO-style alpha-2 country code supported by the pinned OpenHolidays public-holiday reference snapshot.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-05-01'], 'description': 'First date in 2026-2028.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'territory': {'type': 'string', 'description': 'Normalized uppercase country code.'}, 'coverage_end': {'type': 'string', 'format': 'date', 'description': 'Last supported date.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR weekend convention used as the base rule.'}, 'working_days': {'type': 'integer', 'x-unit': 'working days', 'description': 'Reference working dates counted. Unit: working days.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Included nationwide public-holiday names on the date.'}, 'source_commit': {'type': 'string', 'description': 'Immutable source-data repository commit.'}, 'calendar_scope': {'type': 'string', 'description': 'Weekday plus nationwide public-holiday reference.'}, 'coverage_start': {'type': 'string', 'format': 'date', 'description': 'First supported date.'}, 'holiday_policy': {'type': 'string', 'description': 'Nationwide public events only; regional and substitute-day rules are not inferred.'}, 'source_quality': {'type': 'string', 'description': 'Open public-source aggregation, not a direct national authority feed.'}, 'territory_name': {'type': 'string', 'description': 'English country name from the source catalogue.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned OpenHolidays snapshot version.'}, 'calendar_profile': {'type': 'string', 'description': 'global-public-holiday-reference.'}, 'non_working_days': {'type': 'integer', 'x-unit': 'days', 'description': 'Weekend and included public-holiday dates. Unit: days.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint.'}, 'calendar_days_counted': {'type': 'integer', 'x-unit': 'days', 'description': 'Total dates included. Unit: days.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint.'}, 'substitute_day_policy': {'type': 'string', 'description': 'not_inferred.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Included public-holiday events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_global_reference_working_days
Count Global Reference Working Days
Use this when you need a broad national-scope reference count and regional or employer semantics are not required. 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 range needs a direct official authority, regional/local or employer calendar, or dates outside 2026-2028. What it computes: Counts working and non-working dates in a 2026-2028 range using OpenWorkdays national-scope public-holiday data and country weekend rules. Example user requests: Count broad-reference working days in Australia from 2026-10-01 through 2026-10-15. Inputs: start_date (date); end_date (date); territory (enum); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-10-01","end_date":"2026-10-15","territory":"AU","include_start_date":true,"include_end_date":true} Outputs: normalized_start_date, normalized_end_date, working_days [working days], non_working_days [days], calendar_days_counted [days], public_holidays_counted, territory, territory_name, source_territory_name, weekend_days, working_weekend_day, holiday_names, holiday_observed, holiday_estimated, holiday_policy, calendar_scope, calendar_profile, substitute_day_policy, source_quality, dataset_version, coverage_start, coverage_end, source_url. Formula: for each included date: working_days += reference status.is_working_day; non_working_days += not is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-reference-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/global-reference-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-10-15', 'territory': 'AU', 'start_date': '2026-10-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date', 'territory'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-15'], 'description': 'Last date in 2026-2028.'}, 'territory': {'enum': ['AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AR', 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BS', 'BT', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR', 'CU', 'CV', 'CW', 'CX', 'CY', 'CZ', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'HK', 'HN', 'HR', 'HT', 'HU', 'ID', 'IE', 'IL', 'IM', 'IN', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NU', 'NZ', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'RE', 'RO', 'RS', 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WF', 'WS', 'XK', 'YE', 'YT', 'ZA', 'ZM', 'ZW'], 'type': 'string', 'pattern': '^[A-Z]{2}$', 'examples': ['AU'], 'maxLength': 2, 'description': 'ISO-style alpha-2 country code supported by the pinned OpenWorkdays reference snapshot.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-01'], 'description': 'First date in 2026-2028.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'territory': {'type': 'string', 'description': 'Normalized uppercase country code.'}, 'source_url': {'type': 'string', 'description': 'Pinned OpenWorkdays source index.'}, 'coverage_end': {'type': 'string', 'format': 'date', 'description': 'Last supported date.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Weekend convention supplied by the source country file.'}, 'working_days': {'type': 'integer', 'x-unit': 'working days', 'description': 'Reference working dates counted. Unit: working days.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Included national-scope public-holiday names on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'National reference plus country weekend and explicit working-weekend dates.'}, 'coverage_start': {'type': 'string', 'format': 'date', 'description': 'First supported date.'}, 'holiday_policy': {'type': 'string', 'description': 'National-scope events with source observed/estimated flags preserved.'}, 'source_quality': {'type': 'string', 'description': 'Open derived reference, not a direct national authority feed.'}, 'territory_name': {'type': 'string', 'description': 'Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned OpenWorkdays snapshot version.'}, 'calendar_profile': {'type': 'string', 'description': 'global-working-day-reference.'}, 'holiday_observed': {'type': 'boolean', 'description': 'True when an included event is marked observed by the source.'}, 'non_working_days': {'type': 'integer', 'x-unit': 'days', 'description': 'Weekend and public-holiday dates. Unit: days.'}, 'holiday_estimated': {'type': 'boolean', 'description': 'True when an included event is marked estimated by the source.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint.'}, 'working_weekend_day': {'type': 'boolean', 'description': 'True when the source explicitly marks a weekend date as an official working day.'}, 'calendar_days_counted': {'type': 'integer', 'x-unit': 'days', 'description': 'Total dates included. Unit: days.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint.'}, 'source_territory_name': {'type': 'string', 'description': 'Raw country name from the hash-pinned OpenWorkdays source catalogue.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Source flags are preserved; no new substitute-day rule is inferred.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Source public-holiday events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_global_working_days
Global Working Days Between Dates
Use this when you need a worldwide weekday-based count for a stated territory and public holidays are intentionally outside scope. 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 count must reflect public holidays, substitute days, employer closures, bank settlement, exchange, school or religious calendars. What it computes: Counts weekday-baseline working days in a date range for any supported CLDR alpha-2 territory code, with explicit endpoint rules and no hidden holiday assumptions. Example user requests: How many weekday-baseline working days are between 2026-10-01 and 2026-10-15 in AE? | Count Saudi weekday working days from 2026-06-01 through 2026-06-30. Inputs: start_date (date); end_date (date); territory (enum); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-10-01","end_date":"2026-10-15","territory":"AU","include_start_date":true,"include_end_date":true} Outputs: normalized_start_date, normalized_end_date, working_days [working days], non_working_days [days], calendar_days_counted [days], territory, territory_display_name, weekend_days, calendar_scope, holiday_policy, calendar_profile, calendar_selection_catalog_url, dataset_version, source_url. Formula: for each included date: working_days += not is_weekend; non_working_days += is_weekend Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/global-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/global-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-10-15', 'territory': 'AU', 'start_date': '2026-10-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date', 'territory'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-15'], 'description': 'Last Gregorian date.'}, 'territory': {'enum': ['AC', 'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AN', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BS', 'BT', 'BU', 'BV', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CP', 'CQ', 'CR', 'CS', 'CU', 'CV', 'CW', 'CX', 'CY', 'CZ', 'DD', 'DE', 'DG', 'DJ', 'DK', 'DM', 'DO', 'DZ', 'EA', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'EU', 'EZ', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FR', 'FX', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'ID', 'IE', 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NT', 'NU', 'NZ', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'QO', 'QU', 'RE', 'RO', 'RS', 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SU', 'SV', 'SX', 'SY', 'SZ', 'TA', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TP', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', 'UN', 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WF', 'WS', 'XK', 'YD', 'YE', 'YT', 'YU', 'ZA', 'ZM', 'ZR', 'ZW'], 'type': 'string', 'pattern': '^[A-Z]{2}$', 'examples': ['AU'], 'maxLength': 2, 'description': 'CLDR territory code in alpha-2 form. The complete accepted-code enum is exposed here; it includes ISO-style territory codes plus CLDR regional and legacy codes where present.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-01'], 'description': 'First Gregorian date.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates in the count.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates in the count.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'territory': {'type': 'string', 'description': 'Normalized uppercase CLDR territory code.'}, 'source_url': {'type': 'string', 'description': 'Pinned CLDR JSON source.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Territory weekend convention from CLDR.'}, 'working_days': {'type': 'integer', 'x-unit': 'working days', 'description': 'Weekday-baseline working dates counted. Unit: working days.'}, 'calendar_scope': {'type': 'string', 'description': 'weekday_pattern_only; public holidays are intentionally not included.'}, 'holiday_policy': {'type': 'string', 'description': 'public_holidays_not_included for this global baseline.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned CLDR weekend-data version.'}, 'calendar_profile': {'type': 'string', 'description': 'Machine-readable profile id: global-weekday-baseline.'}, 'non_working_days': {'type': 'integer', 'x-unit': 'days', 'description': 'Weekend dates counted. Unit: days.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint.'}, 'calendar_days_counted': {'type': 'integer', 'x-unit': 'days', 'description': 'Total included dates. Unit: days.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint.'}, 'territory_display_name': {'type': 'string', 'description': 'Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW.'}, 'calendar_selection_catalog_url': {'type': 'string', 'description': 'Use this catalog before selecting a jurisdiction-specific holiday package.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_gr_working_days
Count Greece Working Days
Use this when you need an auditable Greece 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 the nationwide compulsory public-holiday layer over a Saturday-Sunday baseline. 28 October is included as published in the 2026 Ministry schedule; Gov.gr notes that optional-holiday and employer discretion can apply under the underlying legal framework. Clean Monday, Good Friday and Holy Spirit Monday are not generalized as compulsory closures. Regional, municipal, school, bank, exchange, employer, collective-agreement and sector schedules are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Greece working days around Greece Easter Monday. | Count Greece working days around Greece ordinary weekday. 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-10","end_date":"2026-04-14","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/greece-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/greece-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-04-14', 'start_date': '2026-04-10', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'GR (Greece).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Greece nationwide compulsory public holidays under the employment-law layer for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'Article_60_Law_4808_2021_compulsory_public_holidays'}, 'territory_name': {'type': 'string', 'description': 'Greece'}, 'dataset_version': {'type': 'string', 'description': 'gr-labour-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'greece-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No national substitute-day closure is inferred; optional, local, employer, sector and later Gazette decisions require separate evidence'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_hk_working_days
Count 中国香港特别行政区 Working Days
Use this when you need an auditable 中国香港特别行政区 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 is the Hong Kong general/public-holiday calendar. Statutory employee holidays, employer rest days, school calendars, bank/exchange closures and private-sector arrangements are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count 中国香港特别行政区 working days around 2027 Lunar New Year substitute. | Count 中国香港特别行政区 working days around 2026 Ching Ming substitution. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2027-02-06","end_date":"2027-02-10","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/hong-kong-general-holidays-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/hong-kong-general-holidays-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2027-02-10', 'start_date': '2027-02-06', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'HK (中国香港特别行政区).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Hong Kong general holidays under the General Holidays Ordinance; government/general public calendar only'}, 'holiday_policy': {'type': 'string', 'description': 'Hong_Kong_General_Holidays_Ordinance_events_over_Sunday_baseline'}, 'territory_name': {'type': 'string', 'description': '中国香港特别行政区'}, 'dataset_version': {'type': 'string', 'description': 'hk-general-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'hong-kong-general-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_substitute_and_first_weekday_after_dates_only; employee_rest_day_compensation_not_inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_hr_working_days
Count Croatia Working Days
Use this when you need an auditable Croatia 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 croatia 2026 article 1 general holidays over an explicitly selected Monday-Friday planning baseline. Article 2 memorial days do not add rest. Article 3 religious rights depend on the person and, for specified festivals, the chosen day; they are not included in a universal union. Individual shifts, replacement weekly rest, employer/local/sector/school/bank schedules, payroll, legal deadlines and future years are not computed. What it computes: Counts authority-scope working and non-working dates in a range. Requires explicit mon_fri_planning; memorials and person-specific religious rights are not general rest. Example user requests: Count Croatia working days around Good Friday is not a general statutory holiday. | Count Croatia working days around Corpus Christi. | Count Croatia working days around Independence memorial is not a rest holiday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-04-03","end_date":"2026-04-07","work_schedule":"mon_fri_planning"} 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, work_schedule, is_statutory_holiday, is_commemorative_day, religious_rest_scope, payroll_scope. Formula: planning_workday = weekday AND no article_1_statutory_holiday Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/croatia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/croatia-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-04-07', 'start_date': '2026-04-03', 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'end_date', 'work_schedule'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline; not an individual statutory roster.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday, weekend_baseline or regular_workday; memorials alone do not add rest.'}, 'territory': {'type': 'string', 'description': 'HR (Croatia).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Croatia 2026 article 1 general holiday facts with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'NN_110_2019_article_1_general_rest_article_2_memorial_NN_72_2025'}, 'territory_name': {'type': 'string', 'description': 'Croatia'}, 'dataset_version': {'type': 'string', 'description': 'hr-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'croatia-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'is_commemorative_day': {'type': 'boolean', 'description': 'Whether result.date has an article 2 memorial; this does not add rest.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is an article 1 general statutory holiday.'}, 'religious_rest_scope': {'type': 'string', 'description': 'article_3_person_specific_not_computed: no union or inferred personal religious identity.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Article_4_no_next_day_transfer; no_unpublished_substitute_inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Event dates including memorials; the list length is not a general rest-day count.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_hu_working_days
Count Hungary Working Days
Use this when you need an auditable Hungary 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 hungary 2026 general Monday-Friday work schedule only (Labour Code section 97(2), NGM 10/2025). Requires explicit work_schedule. Eleven statutory holidays and three paired transfers are included; three Saturdays are working. No shift, personal, bank, exchange, school, local-office opening or payroll schedule is inferred. No automatic substitute Monday. The annual decree expires 2027-01-01; later schedules require new evidence. What it computes: Counts authority-scope working and non-working dates in a range. Requires an explicit general Monday-Friday work schedule; includes three working Saturdays and paired rest dates. Example user requests: Count Hungary working days around Working Saturday compensates August 21. | Count Hungary working days around Christmas Eve is transferred rest, not statutory holiday. | Count Hungary working days around Whit Monday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-08-07","end_date":"2026-08-10","work_schedule":"general_monday_friday"} 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, work_schedule, is_statutory_holiday, is_transferred_rest_day, is_makeup_working_day, transfer_pair, payroll_scope. Formula: working = published makeup day OR (weekday AND not statutory holiday AND not transferred rest) Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/hungary-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/hungary-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-08-10', 'start_date': '2026-08-07', 'work_schedule': 'general_monday_friday'}], 'required': ['start_date', 'end_date', 'work_schedule'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'work_schedule': {'enum': ['general_monday_friday'], 'type': 'string', 'examples': ['general_monday_friday'], 'description': 'Required: confirm the general Monday-Friday work schedule under Labour Code 97(2). Do not use for shifts or institution-specific opening.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'HU (Hungary).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'transfer_pair': {'type': 'object', 'description': 'Paired working/rest dates and legal basis for result.date, otherwise empty object.'}, 'work_schedule': {'type': 'string', 'description': 'Explicitly selected general_monday_friday schedule.'}, 'calendar_scope': {'type': 'string', 'description': 'Hungary 2026 general Monday-Friday work schedule'}, 'holiday_policy': {'type': 'string', 'description': 'Act_I_2012_102_1_and_NGM_10_2025'}, 'territory_name': {'type': 'string', 'description': 'Hungary'}, 'dataset_version': {'type': 'string', 'description': 'hu-general-work-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'hungary-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is a Labour Code 102(1) holiday.'}, 'is_makeup_working_day': {'type': 'boolean', 'description': 'Whether result.date is a published working Saturday.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only three published 2026 transfer pairs; no substitute Monday inferred'}, 'is_transferred_rest_day': {'type': 'boolean', 'description': 'Whether result.date is one of the three NGM rest dates.'}, 'public_holidays_counted': {'type': 'array', 'description': 'All retained calendar events, including working Saturdays; event count is not a rest-day count.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_id_working_days
Count Indonesia Working Days
Use this when you need an auditable Indonesia 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 cuti bersama is facultative for private employers and may be governed by each employer; ASN-specific implementation and local, sector, religious-optional and employer schedules are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Indonesia working days around National holiday. | Count Indonesia working days around Joint leave is separately labelled. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/indonesia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/indonesia-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'ID (Indonesia).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Indonesia national holidays and joint-leave schedule published by the three-minister SKB'}, 'holiday_policy': {'type': 'string', 'description': 'National holidays and cuti bersama are preserved as separate event kinds; the result is an official government/employee schedule, not a universal private-employer closure calendar.'}, 'territory_name': {'type': 'string', 'description': 'Indonesia'}, 'dataset_version': {'type': 'string', 'description': 'id-skb-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'indonesia-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No additional substitute-day, local-government, employer or sector rule is inferred beyond the published SKB dates.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_india_central_working_days
Count India Central Government Working Days
Use this when you need an auditable 2026 central-government count and can specify the office scope. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a state/UT, bank, employer, school, exchange or exact outside-Delhi local optional calendar. What it computes: Counts 2026 central-government baseline working and non-working dates while preserving Gazetted and Restricted event classes. Example user requests: Count Delhi central-government working days from 2026-10-01 to 2026-10-31. Inputs: start_date (date); end_date (date); office_scope (enum); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-10-01","end_date":"2026-10-31","office_scope":"delhi_new_delhi","include_start_date":true,"include_end_date":true} Outputs: normalized_start_date, normalized_end_date, working_days, non_working_days, calendar_days_counted, gazetted_holidays_counted, restricted_holidays_available, territory, territory_name, office_scope, office_scope_name, is_guaranteed_non_working_day, day_type, restricted_holiday_available, calendar_scope, rest_day_policy, restricted_holiday_policy, selection_policy, substitute_day_policy, 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/india-central-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/india-central-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-10-31', 'start_date': '2026-10-01', 'office_scope': 'delhi_new_delhi', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date', 'office_scope'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-31'], 'description': 'Last date in 2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-10-01'], 'description': 'First date in 2026.'}, 'office_scope': {'enum': ['delhi_new_delhi', 'outside_delhi'], 'type': 'string', 'examples': ['delhi_new_delhi'], 'description': 'Required scope: delhi_new_delhi or outside_delhi. State/UT holiday calendars are not represented by this package.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Government of India sources.'}, 'day_type': {'type': 'string', 'description': 'Weekly rest day, gazetted holiday, restricted option or regular weekday.'}, 'territory': {'type': 'string', 'description': 'IN.'}, 'office_scope': {'type': 'string', 'description': 'Selected central-government office scope.'}, 'working_days': {'type': 'integer', 'description': 'Central-government baseline working dates.'}, 'calendar_scope': {'type': 'string', 'description': 'Exact data scope.'}, 'territory_name': {'type': 'string', 'description': 'India.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned DoPT package version.'}, 'rest_day_policy': {'type': 'string', 'description': 'Weekly-rest and exclusion policy.'}, 'calendar_profile': {'type': 'string', 'description': 'in-dopt-central-government-holidays.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekly-rest and applicable Gazetted dates.'}, 'selection_policy': {'type': 'string', 'description': 'Whether local optional selection is required.'}, 'office_scope_name': {'type': 'string', 'description': 'Human-readable scope.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint.'}, 'calendar_days_counted': {'type': 'integer', 'description': 'Total included dates.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No automatic substitute-day inference.'}, 'gazetted_holidays_counted': {'type': 'array', 'description': 'Gazetted events in range.'}, 'restricted_holiday_policy': {'type': 'string', 'description': 'Restricted and locally selected optional-holiday rule.'}, 'restricted_holiday_available': {'type': 'boolean', 'description': 'Whether a restricted-holiday option is listed on the date.'}, 'is_guaranteed_non_working_day': {'type': 'boolean', 'description': 'True for the weekly baseline or an applicable gazetted holiday.'}, 'restricted_holidays_available': {'type': 'array', 'description': 'Restricted options in range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_ireland_working_days
Count Ireland Working Days
Use this when you need an auditable Ireland national 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 you need employer, school, bank, sector or individually selected benefit schedules. What it computes: Counts national working and non-working dates in an Ireland 2026-2027 range. Example user requests: Count Ireland working days from 2027-01-29 to 2027-02-03. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2027-01-29","end_date":"2027-02-03","include_start_date":true,"include_end_date":true} Outputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, holiday_names, calendar_scope, good_friday_policy, weekend_holiday_policy, calendar_profile, dataset_version, sources. Formula: for each included date: working_days += Ireland status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/ireland-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/ireland-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2027-02-03', 'start_date': '2027-01-29', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-03'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-01-29'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Irish government regulator and legislation sources.'}, 'territory': {'type': 'string', 'description': 'IE (Ireland).'}, 'working_days': {'type': 'integer', 'description': 'Ireland national working dates.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'National statutory public holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'National statutory public holidays over a Monday-Friday baseline.'}, 'territory_name': {'type': 'string', 'description': 'Ireland.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Ireland WRC package.'}, 'calendar_profile': {'type': 'string', 'description': 'ireland-public-holidays.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact national statutory public holiday dates.'}, 'good_friday_policy': {'type': 'string', 'description': 'Good Friday is not a public holiday.'}, 'weekend_holiday_policy': {'type': 'string', 'description': 'No automatic next-working-day closure is inferred.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact national events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_it_working_days
Count Italy Working Days
Use this when you need an auditable Italy 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 regional, municipal, local patron-saint, school, bank, sector, collective-agreement and employer-specific schedules are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Italy working days around Republic Day. | Count Italy working days around Easter Monday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/italy-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/italy-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'IT (Italy).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Italy nationwide statutory/public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'National statutory holidays are preserved; Sundays are handled by the Monday-Friday baseline and local patron days are not inserted.'}, 'territory_name': {'type': 'string', 'description': 'Italy'}, 'dataset_version': {'type': 'string', 'description': 'it-national-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'italy-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a national holiday falls on a weekend.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_japan_national_working_days
Count Japan National Working Days
Use this when you need an auditable Japan statutory national-holiday 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 you need a company, school, bank, exchange or prefectural closure calendar. What it computes: Counts Japan statutory-baseline working and non-working dates for a pinned year range. Example user requests: Count Japan working days from 2027-03-01 to 2027-03-31. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2027-03-01","end_date":"2027-03-31","include_start_date":true,"include_end_date":true} Outputs: normalized_start_date, normalized_end_date, working_days, non_working_days, national_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_legal_bases, weekend_days, calendar_scope, rest_day_policy, calendar_profile, dataset_version, sources. Formula: for each included date: working_days += Japan national status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/japan-national-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/japan-national-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2027-03-31', 'start_date': '2027-03-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-03-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-03-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Cabinet Office and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or statutory national holiday.'}, 'territory': {'type': 'string', 'description': 'JP.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR Saturday/Sunday baseline.'}, 'working_days': {'type': 'integer', 'description': 'Japan statutory-baseline working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'National holiday or statutory holiday under the Cabinet Office table.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Japanese statutory holiday names applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Japan statutory national holidays only.'}, 'territory_name': {'type': 'string', 'description': 'Japan.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Cabinet Office evidence package.'}, 'rest_day_policy': {'type': 'string', 'description': 'Company, school, bank and exchange closures are not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'jp-cabinet-office-national-holidays.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and statutory holiday dates.'}, 'holiday_legal_bases': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Holiday Act or Cabinet Office legal classification.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint.'}, 'national_holidays_counted': {'type': 'array', 'description': 'Cabinet Office events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_ke_working_days
Count Kenya Working Days
Use this when you need an auditable Kenya 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 the nationwide public-holiday layer only. It is not a universal private-employer, bank, school, county, sector, diplomatic or shift-work calendar. The Saturday-Sunday baseline is a calculation convention for ordinary weekday work, not a claim that every employer uses the same roster. Idd-ul-Fitr and Idd-ul-Adha are pinned to the 2026 Gazette declarations; future lunar dates and later special notices require a refreshed package. The Act's Sunday substitution rule is preserved and no Saturday-to-Monday substitution is inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Kenya working days around Idd-ul-Fitr public holiday. | Count Kenya working days around Ordinary Kenya working 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-03","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/kenya-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/kenya-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-04-06', 'start_date': '2026-04-03', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'KE (Kenya).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Kenya 2026 nationwide public-holiday layer over a Saturday-Sunday working-week baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Kenya_Public_Holidays_Act_and_2026_Gazette_Notices'}, 'territory_name': {'type': 'string', 'description': 'Kenya'}, 'dataset_version': {'type': 'string', 'description': 'ke-national-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'kenya-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Sunday_substitution_only_under_Public_Holidays_Act; no Saturday_lieu_day_without_a_specific_notice'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_kr_working_days
Count South Korea Working Days
Use this when you need an auditable South Korea 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 the package covers the 2026 statutory/public-office schedule only; private-employer, school, bank, exchange, local-government and 2027 schedules are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count South Korea working days around New Labor Day public holiday. | Count South Korea working days around Published substitute holiday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/south-korea-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/south-korea-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'KR (South Korea).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'South Korea statutory public holidays and public-office substitute holidays for 2026'}, 'holiday_policy': {'type': 'string', 'description': 'National, substitute and election holiday event kinds are preserved; this is not a universal private-employer or school closure calendar.'}, 'territory_name': {'type': 'string', 'description': 'South Korea'}, 'dataset_version': {'type': 'string', 'description': 'kr-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'south-korea-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only the published 2026 substitute dates are included; employer exchanges, local-government holidays and school schedules are not inferred.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_kz_working_days
Count Kazakhstan Working Days
Use this when you need an auditable Kazakhstan 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 the nationwide published 2026 five-day schedule over a Saturday-Sunday baseline. Six-day, shift, continuous-operation, employer, bank, school, local and sector calendars are not inferred. Qurban Ait is represented by the published 2026 first-day date. Adilet's current text records Constitution Day on 15 March with an amendment effective 2026-07-01, while the published 2026 government calendar does not add a March 15/16 closure; this package follows the published 2026 calendar and future-year packages must refresh the legal transition. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Kazakhstan working days around Nauryz transfer day. | Count Kazakhstan working days around Ordinary weekday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-03-21","end_date":"2026-03-25","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/kazakhstan-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/kazakhstan-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-03-25', 'start_date': '2026-03-21', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'KZ (Kazakhstan).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Kazakhstan nationwide published 2026 five-day public-holiday and transfer schedule'}, 'holiday_policy': {'type': 'string', 'description': 'Kazakhstan_Holidays_Law_267_plus_Government_2026_schedule'}, 'territory_name': {'type': 'string', 'description': 'Kazakhstan'}, 'dataset_version': {'type': 'string', 'description': 'kz-gov-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'kazakhstan-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only published 2026 transfer dates are included; no future, employer or unscheduled transfer is inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_lk_working_days
Count Sri Lanka Working Days
Use this when you need an auditable Sri Lanka 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 is a combined official holiday-class calendar, not a universal private-employer closure rule. Public, bank and mercantile classifications remain in each event kind; the March 18, March 25 and April 1 fuel-conservation entries apply to government offices only and the schedule was cancelled effective April 8. Essential services, schools, private employers, sector agreements, local arrangements and later unlisted notices are not inferred. The additional day after the National Vesak Festival is not invented beyond the published May 2 calendar entry. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Sri Lanka working days around Poya holiday. | Count Sri Lanka working days around Temporary government-office Wednesday. 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-13","end_date":"2026-04-14","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/sri-lanka-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/sri-lanka-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-04-14', 'start_date': '2026-04-13', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'LK (Sri Lanka).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Sri Lanka 2026 public, bank, mercantile and full-moon Poya holiday calendar, plus dated temporary government-office closures'}, 'holiday_policy': {'type': 'string', 'description': 'Sri_Lanka_Holidays_Act_No_29_of_1971_2026_public_bank_mercantile_and_Poya_calendar'}, 'territory_name': {'type': 'string', 'description': 'Sri Lanka'}, 'dataset_version': {'type': 'string', 'description': 'lk-public-bank-mercantile-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'sri-lanka-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_official_dates_only; no next-day or employer-lieu inference; later Gazette or official circular overrides'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_lt_working_days
Count Lithuania Working Days
Use this when you need an auditable Lithuania 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 lithuania 2026 Labour Code holiday facts with explicit mon_fri_planning or mon_sat_planning. Sixteen full-day statutory holidays; pre-holiday one-hour rules do not create additional rest. No weekend substitution or bridge is inferred. Required work_schedule selects a planning calendar, not a universal personal roster. Actual hours, pay, shifts, local/employer/sector/school/bank schedules, religious personal leave, legal deadlines and future years are not computed. What it computes: Counts working/rest dates in the explicitly selected Lithuania 2026 five-day or six-day planning workweek. Sixteen statutory holidays; conditional one-hour eve markers never add full-day rest. Example user requests: Count Lithuania working days around Restoration of the State is a statutory holiday. | Count Lithuania working days around August 14 shortening is not full-day rest. | Count Lithuania working days around Good Friday is not an Article 123 rest day. | Count Lithuania working days around Easter eve depends on selected workweek. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-12-31","work_schedule":"mon_fri_planning"} | {"start_date":"2026-01-01","end_date":"2026-12-31","work_schedule":"mon_sat_planning"} 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, work_schedule, is_statutory_holiday, is_preholiday_rule_date, is_shortened_workday, statutory_shortening_hours, shortening_scope, working_hours_scope, personal_roster_scope, payroll_scope, shortened_work_dates_counted, shortened_work_date_count. Formula: planning_workday = day in selected workweek AND no statutory_holiday_rest; shortened work dates count once Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/lithuania-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/lithuania-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-12-31', 'start_date': '2026-01-01', 'work_schedule': 'mon_fri_planning'}, {'end_date': '2026-12-31', 'start_date': '2026-01-01', 'work_schedule': 'mon_sat_planning'}], 'required': ['start_date', 'end_date', 'work_schedule'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'work_schedule': {'enum': ['mon_fri_planning', 'mon_sat_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required mon_fri_planning or mon_sat_planning. Choose the intended baseline explicitly; no universal or personal roster inferred.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday_rest, shortened_workday, weekend_baseline or regular_workday. Rest takes priority on overlapping eve markers.'}, 'territory': {'type': 'string', 'description': 'LT (Lithuania).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit selected five-day or six-day planning workweek.'}, 'calendar_scope': {'type': 'string', 'description': 'Lithuania 2026 statutory holiday facts over explicit mon_fri_planning'}, 'holiday_policy': {'type': 'string', 'description': 'DK_article_123_statutory_rest; article_112_6_conditional_shortening_not_full_rest'}, 'territory_name': {'type': 'string', 'description': 'Lithuania'}, 'dataset_version': {'type': 'string', 'description': 'lt-explicit-workweek-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'lithuania-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'shortening_scope': {'type': 'string', 'description': 'Required conditions and exceptions to the one-hour rule.'}, 'working_hours_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'is_shortened_workday': {'type': 'boolean', 'description': 'Rule-eve which is also working in selected baseline; no claim of actual hours worked.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is an Article 123 holiday, independent of weekend.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No_weekend_holiday_transfer_to_another_weekday; no_unpublished_bridge'}, 'is_preholiday_rule_date': {'type': 'boolean', 'description': 'Whether result.date immediately precedes a statutory holiday, even on a rest date. A conditional rule, not personal entitlement.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Included distinct event dates, including conditional eves; list length is NOT a full-day holiday count.'}, 'shortened_work_date_count': {'type': 'integer', 'description': 'Count of baseline working eves, not hours.'}, 'statutory_shortening_hours': {'type': 'integer', 'description': 'Conditional rule magnitude: 1 on an eve including a rest/holiday eve, otherwise 0. NOT computed hours or entitlement.'}, 'shortened_work_dates_counted': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Included baseline working eves, already counted once as working dates; not all conditional eve markers.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_lu_working_days
Count Luxembourg Working Days
Use this when you need an auditable Luxembourg 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 luxembourg 2026-2028 statutory holiday dates over an explicitly selected Monday-Friday planning baseline, BEFORE individual annual or compensatory leave. A holiday on a normally non-worked day may produce compensatory leave depending on the employee's schedule, hours and applicable rules; no compensation date or next-Monday closure is assigned here. Bank-only Good Friday/Christmas Eve afternoon, customary or collectively agreed holidays, school/local/employer/shift schedules, hours, payroll, personal entitlements and legal deadlines are not computed. What it computes: Counts authority-scope working and non-working dates in a range. Requires explicit mon_fri_planning; personal compensatory leave and bank-only closures are not computed. Example user requests: Count Luxembourg working days around Europe Day is statutory rest. | Count Luxembourg working days around No uniform Monday compensation date. | Count Luxembourg working days around Bank-only Good Friday is not general statutory rest. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-05-08","end_date":"2026-05-11","work_schedule":"mon_fri_planning"} 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, work_schedule, is_statutory_non_working_day, holiday_on_baseline_weekend, compensatory_leave_scope, compensatory_date_policy, personal_roster_scope, payroll_scope, weekend_holiday_dates_counted, weekend_holiday_date_count. Formula: planning_workday = weekday AND no statutory_holiday_rest; individual leave is not deducted Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/luxembourg-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/luxembourg-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-05-11', 'start_date': '2026-05-08', 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'end_date', 'work_schedule'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2028-12-31'], 'description': 'Last date in 2026-2028.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2028.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline BEFORE individual annual/compensatory leave; not a personal roster.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday_rest, weekend_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'LU (Luxembourg).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Luxembourg 2026-2028 eleven annual statutory holidays with explicit Monday-Friday planning baseline before individualized leave'}, 'holiday_policy': {'type': 'string', 'description': 'Eleven_L232_2_statutory_holidays_per_year; individualized_compensation_not_computed'}, 'territory_name': {'type': 'string', 'description': 'Luxembourg'}, 'dataset_version': {'type': 'string', 'description': 'lu-statutory-calendar-2026-2028.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'luxembourg-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No_uniform_next_Monday_or_compensatory_leave_date_assigned'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}, 'compensatory_date_policy': {'type': 'string', 'description': 'Always no_dates_assigned; not a denial of compensatory leave.'}, 'compensatory_leave_scope': {'type': 'string', 'description': 'Always not_computed; personal schedule and applicable rules required.'}, 'weekend_holiday_date_count': {'type': 'integer', 'description': 'Count of those calendar dates; not a leave entitlement.'}, 'holiday_on_baseline_weekend': {'type': 'boolean', 'description': 'Statutory holiday falls on Saturday/Sunday. Calendar fact only, not an individual compensatory entitlement.'}, 'is_statutory_non_working_day': {'type': 'boolean', 'description': 'Whether result.date is one of eleven annual general statutory holiday dates; not personal attendance.'}, 'weekend_holiday_dates_counted': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Included statutory holiday dates on the planning weekend; NOT individual compensatory days granted.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_lv_working_days
Count Latvia Working Days
Use this when you need an auditable Latvia 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 latvia 2026 only. Explicit calendar_basis and work_schedule=mon_fri_planning are required. The transfer basis applies Cabinet Order 330 only when the organization is covered or has adopted it; no private employer adoption is inferred. Section 2 observances do not add rest. Shortening is conditional, not full-day rest. Six-day/shift/personal rosters, other religious calendars, bank/exchange/school opening, payroll, actual hours and legal deadlines are not computed. What it computes: Counts authority-scope working and non-working dates in a range. Explicit transfer basis and mon_fri_planning required. Separate statutory rest, non-rest observances, transferred work/rest and conditional shortening. Example user requests: Count Latvia working days around Mother's Day is statutory even on Sunday. | Count Latvia working days around January 2 depends on explicit transfer basis. | Count Latvia working days around June 27 depends on explicit transfer basis. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); calendar_basis (enum); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-12-31","calendar_basis":"statutory_holidays_only","work_schedule":"mon_fri_planning"} | {"start_date":"2026-01-01","end_date":"2026-12-31","calendar_basis":"cabinet_order_330_transfers","work_schedule":"mon_fri_planning"} 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, calendar_basis, work_schedule, is_statutory_holiday, is_non_rest_observance, is_transferred_rest_day, is_transferred_working_day, is_shortened_workday, statutory_shortening_hours, shortening_scope, payroll_scope, personal_roster_scope, working_hours_scope, additional_religious_holidays_scope, shortened_work_dates_counted, shortened_work_date_count. Formula: planning_workday = explicit transferred working date OR (weekday AND no statutory/selected transferred rest); shortened dates count once Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/latvia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/latvia-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-12-31', 'start_date': '2026-01-01', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'statutory_holidays_only'}, {'end_date': '2026-12-31', 'start_date': '2026-01-01', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'cabinet_order_330_transfers'}], 'required': ['start_date', 'end_date', 'calendar_basis', 'work_schedule'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday baseline before any selected Order 330 transfers; not a universal or individual roster.'}, 'calendar_basis': {'enum': ['statutory_holidays_only', 'cabinet_order_330_transfers'], 'type': 'string', 'examples': ['statutory_holidays_only'], 'description': 'Required statutory_holidays_only or cabinet_order_330_transfers. Choose the latter only for a covered institution or an employer adopting the order; never infer adoption.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'statutory_holiday_rest, transferred_rest_day, special_working_day, shortened_workday, weekend_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'LV (Latvia).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline, before selected transfers.'}, 'calendar_basis': {'type': 'string', 'description': 'Explicit selected transfer basis; no employer adoption inferred.'}, 'calendar_scope': {'type': 'string', 'description': 'Latvia 2026 statutory calendar, explicit statutory_holidays_only and Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Holiday_Law_section_1_rest_section_2_non_rest; explicit_Cabinet_Order_330_basis'}, 'territory_name': {'type': 'string', 'description': 'Latvia'}, 'dataset_version': {'type': 'string', 'description': 'lv-statutory-transfer-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'latvia-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'shortening_scope': {'type': 'string', 'description': 'Conditions on the one-hour rule.'}, 'working_hours_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'is_shortened_workday': {'type': 'boolean', 'description': 'Whether result.date carries a conditional normal-working-time shortening rule, not full-day rest.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is a Holiday Law section 1 holiday, excluding transfer-only rest.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only May 4, November 18 and qualifying General Song/Dance Festival closing day have statutory weekend substitution; none triggered in 2026. No blanket substitute Monday.'}, 'is_non_rest_observance': {'type': 'boolean', 'description': 'Whether result.date has a section 2 observance, which itself does not cause rest.'}, 'is_transferred_rest_day': {'type': 'boolean', 'description': 'Rest date under the explicitly selected Order 330 basis.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Included event dates, also containing non-rest observances, shortening and transfers; not a full-day holiday count.'}, 'shortened_work_date_count': {'type': 'integer', 'description': 'Number of included shortened dates, not hours.'}, 'is_transferred_working_day': {'type': 'boolean', 'description': 'Working Saturday under the explicitly selected Order 330 basis.'}, 'statutory_shortening_hours': {'type': 'integer', 'description': 'Rule magnitude: one on a shortening date, zero otherwise. Not actual employee hours or entitlement.'}, 'shortened_work_dates_counted': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Included conditional shortened dates, already counted as one working day each.'}, 'additional_religious_holidays_scope': {'type': 'string', 'description': 'Always not_computed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_mt_working_days
Count Malta Working Days
Use this when you need an auditable Malta 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 malta 2026 named statutory holidays and Sunday public-holiday status over an explicitly selected Monday-Friday planning baseline BEFORE individual annual or compensatory leave. Additional vacation entitlement for a named holiday on a weekly rest day depends on the person's employment and roster; no next-Monday or later leave date is assigned. Bank-only, school, local, employer and shift calendars, hours, payroll, personal entitlements and legal deadlines are not computed. Future years require a separately verified package. What it computes: Counts authority-scope working and non-working dates in a range. Required mon_fri_planning; named holidays and Sunday statutory status remain distinct. Personal leave and bank-only dates are not computed. Example user requests: Count Malta working days around Good Friday is scheduled public rest. | Count Malta working days around Ordinary Sunday is public holiday, not a named holiday. | Count Malta working days around No invented Monday compensation. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-06-05","end_date":"2026-06-08","work_schedule":"mon_fri_planning"} 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, work_schedule, is_public_holiday, is_named_statutory_holiday, is_national_holiday, is_other_scheduled_public_holiday, is_sunday_public_holiday, holiday_on_baseline_weekend, sunday_legal_basis, compensatory_leave_scope, personal_roster_scope, payroll_scope, compensatory_date_policy, public_holiday_dates_counted, public_holiday_date_count, weekend_holiday_dates_counted, weekend_holiday_date_count. Formula: planning_workday = Monday_to_Friday AND no named statutory holiday; individual leave is not deducted Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/malta-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/malta-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-06-08', 'start_date': '2026-06-05', 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'end_date', 'work_schedule'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline BEFORE individual annual/compensatory leave; not personal attendance.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'national_holiday, scheduled_public_holiday, sunday_public_holiday, saturday_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'MT (Malta).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications. Named events only; Sunday status is separately labelled.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date. Named events only; Sunday status is separately labelled.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Malta 2026 fourteen named statutory holidays and Sunday public holidays with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Cap252_five_national_nine_scheduled_plus_Sundays; individualized_leave_not_computed'}, 'territory_name': {'type': 'string', 'description': 'Malta'}, 'dataset_version': {'type': 'string', 'description': 'mt-statutory-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published. Named events only; Sunday status is separately labelled.'}, 'calendar_profile': {'type': 'string', 'description': 'malta-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'is_public_holiday': {'type': 'boolean', 'description': 'Named statutory holiday OR Sunday under Cap.252. Not actual individual attendance.'}, 'sunday_legal_basis': {'type': 'string', 'description': 'Cap.252 article 5(1) on Sunday; empty otherwise.'}, 'is_national_holiday': {'type': 'boolean', 'description': 'One of five national holidays under Cap.252 articles 2-3.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No_uniform_next_Monday_or_compensatory_leave_date_assigned'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range. Named events only; Sunday status is separately labelled.'}, 'compensatory_date_policy': {'type': 'string', 'description': 'Always no_dates_assigned; not a denial of leave.'}, 'compensatory_leave_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'is_sunday_public_holiday': {'type': 'boolean', 'description': 'Sunday public-holiday status under Cap.252 article 5(1), independently of a named event.'}, 'public_holiday_date_count': {'type': 'integer', 'description': 'Size of public_holiday_dates_counted, not a count of personal days off granted.'}, 'is_named_statutory_holiday': {'type': 'boolean', 'description': 'One of the fourteen government-listed dates; ordinary Sundays are not named events.'}, 'weekend_holiday_date_count': {'type': 'integer', 'description': 'Number of those named weekend dates; not granted leave.'}, 'holiday_on_baseline_weekend': {'type': 'boolean', 'description': 'Named holiday on Saturday/Sunday: calendar fact, NOT personal leave granted.'}, 'public_holiday_dates_counted': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Distinct included dates that are named holidays OR Sundays; overlaps counted once.'}, 'weekend_holiday_dates_counted': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Named holiday dates on the baseline weekend; NOT leave entitlements.'}, 'is_other_scheduled_public_holiday': {'type': 'boolean', 'description': 'One of nine other dates listed in the Cap.252 Schedule.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_mx_working_days
Count Mexico Working Days
Use this when you need an auditable Mexico 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 article 69 weekly rest is at least one day after six days and the employer/worker schedule is not inferred; sector, state, employer, school and bank calendars are outside scope. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Mexico working days around Constitution Day observed. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/mexico-labor-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/mexico-labor-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'MX (Mexico).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Mexico Federal Labour Law mandatory rest days'}, 'holiday_policy': {'type': 'string', 'description': 'Article 74 mandatory rest days; first/third Mondays are represented by their statutory observed dates'}, 'territory_name': {'type': 'string', 'description': 'Mexico'}, 'dataset_version': {'type': 'string', 'description': 'mx-lft-mandatory-rest-days-2026-09-29.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'mexico-labor-rest-days'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Election-day and six-year executive-transition dates are not inserted without the applicable electoral/constitutional schedule'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_my_working_days
Count Malaysia Division Working Days
Use 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
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'division': 'KUL', 'end_date': '2027-02-15', 'start_date': '2027-02-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date', 'division'], 'properties': {'division': {'enum': ['KUL', 'LBN', 'PJY', 'JHR', 'KDH', 'KTN', 'MLK', 'NSN', 'PHG', 'PRK', 'PLS', 'PNG', 'SBH', 'SWK', 'SGR', 'TRG'], 'type': 'string', 'examples': ['KUL'], 'description': 'Required federal-territory/state code: KUL, LBN, PJY, JHR, KDH, KTN, MLK, NSN, PHG, PRK, PLS, PNG, SBH, SWK, SGR or TRG.'}, 'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-15'], 'description': 'Last date in 2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-01'], 'description': 'First date in 2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official government and legislative sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, official weekend or public holiday.'}, 'division': {'type': 'string', 'description': 'Normalized division code.'}, 'territory': {'type': 'string', 'description': 'MY.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Division weekly-rest baseline.'}, 'working_days': {'type': 'integer', 'description': 'Working dates counted.'}, 'division_name': {'type': 'string', 'description': 'Federal territory or state.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Official events applying to the date.'}, 'calendar_scope': {'type': 'string', 'description': "Selected division's federal/state public holidays and weekly baseline."}, 'is_working_day': {'type': 'boolean', 'description': "False for the division's declared weekly baseline or applicable official holiday."}, 'territory_name': {'type': 'string', 'description': 'Malaysia.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned BKPP/JPM 2027 package.'}, 'rest_day_policy': {'type': 'string', 'description': 'Employer roster and replacement-day policy are not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'malaysia-bkpp-public-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'Always false here because no substitute date is inferred.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and official event dates.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Replacement dates are not inferred.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Official events in range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_new_zealand_working_days
Count New Zealand Working Days
Use this when you need an auditable New Zealand national 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 you need regional anniversary or employer-specific closures. What it computes: Counts national working and non-working dates in a New Zealand 2026-2027 range. Example user requests: Count New Zealand working days from 2027-02-01 to 2027-02-15. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2027-02-01","end_date":"2027-02-15","include_start_date":true,"include_end_date":true} Outputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, holiday_names, calendar_scope, regional_anniversary_day_policy, calendar_profile, dataset_version, sources. Formula: for each included date: working_days += New Zealand status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/new-zealand-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/new-zealand-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2027-02-15', 'start_date': '2027-02-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-15'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official New Zealand Government and Employment New Zealand sources.'}, 'territory': {'type': 'string', 'description': 'NZ.'}, 'working_days': {'type': 'integer', 'description': 'New Zealand national working dates.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'National holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'National statutory public holidays only.'}, 'territory_name': {'type': 'string', 'description': 'New Zealand.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned New Zealand government package.'}, 'calendar_profile': {'type': 'string', 'description': 'new-zealand-employment-public-holidays.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact national holiday dates.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact national events in the range.'}, 'regional_anniversary_day_policy': {'type': 'string', 'description': 'Regional anniversary days are not inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_ng_working_days
Count Nigeria Working Days
Use this when you need an auditable Nigeria 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 is the nationwide federal public-holiday layer, not a universal private-employer, state, local-government, school, banking, market, diplomatic-mission or sector calendar. Ministry of Interior announcements take precedence over conflicting secondary or diplomatic snapshots for federal dates. Eid dates are lunar and can be amended by later official notice. The Public Holidays Act permits special or substituted dates and explicitly does not create an automatic extra day for a holiday falling on Saturday or Sunday; no replacement day is invented here. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Nigeria working days around Federal Democracy Day. | Count Nigeria working days around Ordinary federal working 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-03-19","end_date":"2026-03-20","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/nigeria-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/nigeria-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-03-20', 'start_date': '2026-03-19', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'NG (Nigeria).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Nigeria 2026 nationwide federal public-holiday calendar over a Saturday-Sunday weekend'}, 'holiday_policy': {'type': 'string', 'description': 'Nigeria_Public_Holidays_Act_and_2026_Federal_Government_Announcements'}, 'territory_name': {'type': 'string', 'description': 'Nigeria'}, 'dataset_version': {'type': 'string', 'description': 'ng-federal-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'nigeria-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_official_dates_only; no automatic weekend_lieu_day; later federal public notice overrides'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_nl_working_days
Count Netherlands Working Days
Use this when you need an auditable Netherlands 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 a public holiday is not automatically a paid day off for every Dutch employee. CAO, employment contract, sector, employer, school, bank and municipal schedules are not inferred; Liberation Day arrangements may be five-year/CAO dependent. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Netherlands working days around King's Day. | Count Netherlands working days around Ordinary weekday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/netherlands-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/netherlands-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'NL (Netherlands).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Netherlands official public holidays for 2026-2027; employee day-off status remains CAO/contract dependent'}, 'holiday_policy': {'type': 'string', 'description': 'Official public-holiday dates are included; no universal employer closure is inferred because Dutch law leaves the day-off entitlement to the CAO or employment contract.'}, 'territory_name': {'type': 'string', 'description': 'Netherlands'}, 'dataset_version': {'type': 'string', 'description': 'nl-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'netherlands-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No substitute-day closure is inferred; sector, CAO, employer and alternative-religious-holiday arrangements require separate evidence.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_no_working_days
Count Norway Working Days
Use this when you need an auditable Norway 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 nationwide statutory full-day list only. Christmas Eve, Easter Eve, Whit Eve, New Year's Eve, collective-agreement, employer, sector, school, bank and local closures are not inferred. Norwegian annual-leave law treats Saturdays separately from Sundays and public holidays; this package uses the declared Monday-Friday business baseline. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Norway working days around Constitution Day. | Count Norway working days around Christmas Eve is not a full-day statutory holiday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/norway-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/norway-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'NO (Norway).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Norway nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Norwegian statutory public holidays are included, including 1 May and 17 May under the separate Act; statutory Sundays are represented by the weekend baseline.'}, 'territory_name': {'type': 'string', 'description': 'Norway'}, 'dataset_version': {'type': 'string', 'description': 'no-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'norway-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a statutory holiday falls on a weekend.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_pe_working_days
Count Peru Working Days
Use this when you need an auditable Peru 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 choose calendar_scope and workweek explicitly. National holidays and public-sector compensable days have different applicability. This is a declared five-day (Saturday-Sunday rest) or six-day (Sunday rest) planning calendar, not proof of an individual's roster. Essential services, private-employer adoption, compensating shifts, regional holidays, banking, school, tax and procedural deadline calendars require separate evidence. The two compensable public-sector days remain working days for tax purposes. Later decrees require a new snapshot; dates beyond 2026 are unsupported. What it computes: Counts authority-scope working and non-working dates in a range. Required calendar_scope and workweek distinguish national holidays from compensable public-sector days and five/six-day rosters. Example user requests: Peru: National July week. | Peru: Public-sector July week. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); calendar_scope (enum); workweek (integer). Complete JSON argument examples: {"start_date":"2026-07-24","end_date":"2026-07-30","calendar_scope":"national_statutory","workweek":5} | {"start_date":"2026-07-24","end_date":"2026-07-30","calendar_scope":"public_sector","workweek":5} 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, calendar_selection, workweek, compensable_day_details. Formula: working day = outside selected weekly rest and selected holiday layer Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/peru-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/peru-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-07-30', 'workweek': 5, 'start_date': '2026-07-24', 'calendar_scope': 'national_statutory'}, {'end_date': '2026-07-30', 'workweek': 5, 'start_date': '2026-07-24', 'calendar_scope': 'public_sector'}], 'required': ['start_date', 'end_date', 'calendar_scope', 'workweek'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'workweek': {'type': 'integer', 'maximum': 6, 'minimum': 5, 'examples': [5], 'description': 'Required declared baseline: 5 = Saturday-Sunday rest, 6 = Sunday rest. Confirm the applicable roster.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'calendar_scope': {'enum': ['national_statutory', 'public_sector'], 'type': 'string', 'examples': ['national_statutory'], 'description': 'Required: national_statutory uses 16 national holidays; public_sector also applies the two published compensable days. Neither is a tax or individual employee roster.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'workweek': {'type': 'integer', 'description': 'User-selected 5 or 6 days per week.'}, 'territory': {'type': 'string', 'description': 'PE (Peru).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Peru 2026 national_statutory'}, 'holiday_policy': {'type': 'string', 'description': 'Peru_2026_national_holidays_with_explicit_public_sector_layer'}, 'territory_name': {'type': 'string', 'description': 'Peru'}, 'dataset_version': {'type': 'string', 'description': 'pe-official-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'peru-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'calendar_selection': {'type': 'string', 'description': 'Explicit national_statutory or public_sector layer.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published dates only; no automatic Monday substitution or employer compensation roster is inferred'}, 'compensable_day_details': {'type': 'array', 'description': 'Public-sector bridge-day facts for the classified date, even when excluded from the selected layer.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_ph_working_days
Count Philippines Working Days
Use this when you need an auditable Philippines 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 local-government special holidays, employer schedules and 2027 Eid dates pending a separate proclamation are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Philippines working days around EDSA remains a special working day. | Count Philippines working days around Eid'l Adha is a declared holiday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/philippines-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/philippines-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'PH (Philippines).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Philippines nationwide presidential-proclamation calendar'}, 'holiday_policy': {'type': 'string', 'description': 'Regular, special non-working, additional special non-working and special working classifications are preserved; Eid dates are included only after a dated proclamation.'}, 'territory_name': {'type': 'string', 'description': 'Philippines'}, 'dataset_version': {'type': 'string', 'description': 'ph-op-proclamations-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'philippines-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No additional substitute-day or local-celebration rule is inferred beyond the published proclamation dates.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_pk_working_days
Count Pakistan Working Days
Use this when you need an auditable Pakistan 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 the nationwide federal public-holiday layer only. It is not a universal provincial, territory, private-employer, bank, exchange, school, court, diplomatic-mission or sector calendar. Lunar festival dates are pinned to the later federal notifications available for 2026; conflicting exchange or diplomatic calendars are retained as scoped cross-checks and not generalized. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Pakistan working days around Pakistan Day. | Count Pakistan working days around Ordinary federal working 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-05-26","end_date":"2026-05-28","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/pakistan-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/pakistan-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-05-28', 'start_date': '2026-05-26', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'PK (Pakistan).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Pakistan 2026 nationwide federal public-holiday layer over a Saturday-Sunday federal-office baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Pakistan_Cabinet_Division_2026_Federal_Public_Holidays_and_Later_Festival_Notifications'}, 'territory_name': {'type': 'string', 'description': 'Pakistan'}, 'dataset_version': {'type': 'string', 'description': 'pk-federal-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'pakistan-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_federal_dates_only; no automatic weekend_lieu_day; lunar dates and later Cabinet notifications override the annual estimate'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_pl_working_days
Count Poland Working Days
Use this when you need an auditable Poland 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 nationwide statutory holiday list only. Saturday substitute dates, individual work schedules, employer, sector, school, bank and local schedules are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Poland working days around Christmas Eve. | Count Poland working days around Ordinary weekday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/poland-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/poland-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'PL (Poland).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Poland nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': "Poland's statutory named holidays and Sundays are included; regional, employer, school, bank and sector schedules are not inferred."}, 'territory_name': {'type': 'string', 'description': 'Poland'}, 'dataset_version': {'type': 'string', 'description': 'pl-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'poland-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'When a statutory holiday falls on Saturday for a five-day-week employee, an additional day off may be due within the settlement period; the employer and work schedule determine the date, so no substitute date is inferred.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_pt_working_days
Count Portugal Working Days
Use this when you need an auditable Portugal 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 mandatory nationwide list only. Municipal, autonomous-region, collective-agreement, employer and locally substituted holiday schedules are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Portugal working days around Portugal Day. | Count Portugal working days around Ordinary weekday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/portugal-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/portugal-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'PT (Portugal).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Portugal nationwide mandatory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Portugal Labour Code mandatory national holidays are included; Carnival Tuesday and municipal holidays are optional and are not inferred.'}, 'territory_name': {'type': 'string', 'description': 'Portugal'}, 'dataset_version': {'type': 'string', 'description': 'pt-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'portugal-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No substitute-day closure is inferred. Good Friday may be observed on another locally significant Easter-period day under the Labour Code, but no local replacement is selected.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_ro_working_days
Count Romania Working Days
Use this when you need an auditable Romania 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 romania 2026 statutory holiday layer only, with required calendar_basis and work_schedule=mon_fri_planning. The basis selects dates, not a person's identity or religion. No union of Christian calendars, non-Christian additional holidays, public-sector bridge/recovery days, individual rosters, shift exceptions, bank/exchange/school opening, payroll or legal deadlines are computed. Other bases and future years are unsupported. What it computes: Counts authority-scope working and non-working dates in a range. Explicit calendar_basis and mon_fri_planning required; no union of calendars or personal roster inference. Example user requests: Count Romania working days around January 24 remains a statutory holiday even on Saturday. | Count Romania working days around Selected-calendar Good Friday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); calendar_basis (enum); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-04-09","end_date":"2026-04-14","calendar_basis":"romanian_orthodox","work_schedule":"mon_fri_planning"} | {"start_date":"2026-04-02","end_date":"2026-04-07","calendar_basis":"roman_catholic","work_schedule":"mon_fri_planning"} 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, calendar_basis, work_schedule, is_statutory_holiday, payroll_scope, personal_roster_scope, additional_religious_holidays_scope. Formula: planning_workday = weekday AND no statutory holiday in the explicitly selected calendar_basis Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/romania-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/romania-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-04-14', 'start_date': '2026-04-09', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'romanian_orthodox'}, {'end_date': '2026-04-07', 'start_date': '2026-04-02', 'work_schedule': 'mon_fri_planning', 'calendar_basis': 'roman_catholic'}], 'required': ['start_date', 'end_date', 'calendar_basis', 'work_schedule'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline; not an individual or universal legal roster.'}, 'calendar_basis': {'enum': ['romanian_orthodox', 'roman_catholic'], 'type': 'string', 'examples': ['romanian_orthodox'], 'description': "Required date basis: romanian_orthodox or roman_catholic. Do not infer a person's religion or union calendars."}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'statutory_fixed_holiday, statutory_calendar_holiday, weekend_baseline or regular_workday.'}, 'territory': {'type': 'string', 'description': 'RO (Romania).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_basis': {'type': 'string', 'description': 'Explicit selected calendar basis; never inferred or combined.'}, 'calendar_scope': {'type': 'string', 'description': 'Romania 2026 statutory holiday layer, romanian_orthodox, explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'Labour_Code_article_139_calendar_specific_not_union'}, 'territory_name': {'type': 'string', 'description': 'Romania'}, 'dataset_version': {'type': 'string', 'description': 'ro-statutory-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'romania-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'is_statutory_holiday': {'type': 'boolean', 'description': 'Whether result.date is a holiday in the selected statutory layer.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No automatic substitute Monday, extra coincident-date day or employer bridge inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}, 'additional_religious_holidays_scope': {'type': 'string', 'description': 'Always not_computed.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_ru_working_days
Count Russia Working Days
Use this when you need an auditable Russia 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 the federal statutory/public-holiday layer and the Government-published 2026 transfer days over a Saturday-Sunday baseline. Regional holidays, republic/local holidays, employer, bank, school, shift, sector and collective-agreement schedules are not inferred. Future annual transfer resolutions require a refreshed package. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Russia working days around Russia New Year's holiday. | Count Russia working days around Published transfer day. | Count Russia working days around Ordinary Russia working 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-01-01","end_date":"2026-01-11","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/russia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/russia-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-11', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'RU (Russia).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Russia federal statutory public holidays and Government-published 2026 transfer days'}, 'holiday_policy': {'type': 'string', 'description': 'Russian_Labour_Code_Article_112_plus_Government_Resolution_1466_2026_transfers'}, 'territory_name': {'type': 'string', 'description': 'Russia'}, 'dataset_version': {'type': 'string', 'description': 'ru-government-public-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'russia-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published_2026_substitute_and_transfer_dates_only; no regional_or_employer_schedule_inference'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_sa_working_days
Count Saudi Arabia Working Days
Use this when you need an auditable Saudi Arabia 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 financial-institution scope only. MHRSD business-sector leave, RTGS-specific intervals, government offices, private-employer rosters, Hajj-season branch exceptions and Umm al-Qura forecasts are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Saudi Arabia working days around SAMA Eid Al-Fitr interval. | Count Saudi Arabia working days around Friday/Saturday weekly baseline. | Count Saudi Arabia working days around National Day Saturday substitution. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-03-17","end_date":"2026-03-23","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/saudi-financial-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/saudi-financial-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-03-23', 'start_date': '2026-03-17', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2029-12-31'], 'description': 'Last date in 2026-2029.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2029.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'SA (Saudi Arabia).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Saudi Central Bank financial institutions'}, 'holiday_policy': {'type': 'string', 'description': 'Exact SAMA financial-institution holiday intervals plus the annual National Day and Founding Day rules.'}, 'territory_name': {'type': 'string', 'description': 'Saudi Arabia'}, 'dataset_version': {'type': 'string', 'description': 'sa-sama-financial-holidays-2026-2029.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'saudi-sama-financial-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'SAMA states that National Day or Founding Day on Friday moves to Thursday and on Saturday moves to Sunday; the 2028 National Day substitute is included. Other employer or RTGS substitutions are not inferred.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_se_working_days
Count Sweden Working Days
Use this when you need an auditable Sweden 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 nationwide statutory list only. Midsummer Eve, Christmas Eve, New Year's Eve, employer, collective-agreement, sector, school, bank and local closures are not inferred; Sunday is already excluded by the weekday baseline. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Sweden working days around National Day. | Count Sweden working days around Midsummer Eve is not statutory. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","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/sweden-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/sweden-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-01-01', 'start_date': '2026-01-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'SE (Sweden).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Sweden nationwide statutory public holidays for 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'Swedish statutory public holidays under Lag (1989:253), including date-rule holidays; customary equivalent office closures are not inferred.'}, 'territory_name': {'type': 'string', 'description': 'Sweden'}, 'dataset_version': {'type': 'string', 'description': 'se-statutory-public-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'sweden-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No nationwide substitute-day closure is inferred when a statutory holiday falls on a weekend.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_singapore_working_days
Count Singapore Official Working Days
Use this when you need an auditable Singapore working-day count for a pinned year. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need an employer-specific rest-day roster, bank/exchange closures or future years. What it computes: Counts Singapore working and non-working dates in a 2026-2027 range using MOM public holidays and the CLDR Saturday/Sunday baseline. Example user requests: Count Singapore working days from 2027-02-01 to 2027-02-15. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2027-02-01","end_date":"2027-02-15","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, day_type, holiday_names, holiday_observed, weekend_days, rest_day_policy, calendar_scope, calendar_profile, source_quality, dataset_version, sources. Formula: for each included date: working_days += singapore status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/singapore-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/singapore-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2027-02-15', 'start_date': '2027-02-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-15'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-02-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official MOM, government open-data and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or MOM public holiday.'}, 'territory': {'type': 'string', 'description': 'SG.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR weekend convention used only as the baseline.'}, 'working_days': {'type': 'integer', 'description': 'MOM-reference working dates.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'MOM holiday names applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Singapore national public holidays plus the CLDR Saturday/Sunday baseline.'}, 'source_quality': {'type': 'string', 'description': 'Official Singapore government sources, with employer-rest-day limitation.'}, 'territory_name': {'type': 'string', 'description': 'Singapore.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned MOM evidence package.'}, 'rest_day_policy': {'type': 'string', 'description': 'Employer-specific weekly rest-day placement is not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'singapore-mom-public-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'True when the source explicitly publishes an observed date.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and public-holiday dates.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint.'}, 'public_holidays_counted': {'type': 'array', 'description': 'MOM events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_si_working_days
Count Slovenia Working Days
Use this when you need an auditable Slovenia 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 slovenia 2026 statutory work-free dates over an explicitly selected Monday-Friday planning baseline. Seven named state holidays are not work-free; no extra Monday or bridge day is invented. Individual shifts, replacement weekly rest, employer/local/sector/school/bank schedules, religious leave, payroll, legal deadlines and future years are not computed. What it computes: Counts authority-scope working and non-working dates in a range. Requires explicit mon_fri_planning; seven named state holidays do not add rest. Example user requests: Count Slovenia working days around Easter Monday is statutory rest. | Count Slovenia working days around Whit Monday is not Whit Sunday. | Count Slovenia working days around Science Day is a state holiday without rest. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); work_schedule (enum). Complete JSON argument examples: {"start_date":"2026-04-03","end_date":"2026-04-07","work_schedule":"mon_fri_planning"} 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, work_schedule, is_state_holiday, is_statutory_non_working_day, is_non_rest_state_holiday, personal_roster_scope, payroll_scope. Formula: planning_workday = weekday AND no statutory_work_free_event Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/slovenia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/slovenia-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-04-07', 'start_date': '2026-04-03', 'work_schedule': 'mon_fri_planning'}], 'required': ['start_date', 'end_date', 'work_schedule'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'work_schedule': {'enum': ['mon_fri_planning'], 'type': 'string', 'examples': ['mon_fri_planning'], 'description': 'Required explicit Monday-Friday planning baseline; not an individual legal roster.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'state_holiday_rest, other_statutory_rest, weekend_baseline or regular_workday; non-rest state holidays do not add rest.'}, 'territory': {'type': 'string', 'description': 'SI (Slovenia).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'work_schedule': {'type': 'string', 'description': 'Explicit mon_fri_planning baseline.'}, 'calendar_scope': {'type': 'string', 'description': 'Slovenia 2026 statutory work-free facts with explicit Monday-Friday planning baseline'}, 'holiday_policy': {'type': 'string', 'description': 'ZPDPD_articles_1_2_rest_with_seven_non_rest_state_holidays'}, 'territory_name': {'type': 'string', 'description': 'Slovenia'}, 'dataset_version': {'type': 'string', 'description': 'si-statutory-rest-calendar-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'slovenia-public-holidays'}, 'is_state_holiday': {'type': 'boolean', 'description': 'Whether result.date is an article 1 state holiday, whether or not work-free.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'personal_roster_scope': {'type': 'string', 'description': 'Always not_computed.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Article_3_no_Sunday_transfer; no_unpublished_substitute_or_bridge_inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Event dates including non-rest state holidays; list length is not a work-free date count.'}, 'is_non_rest_state_holiday': {'type': 'boolean', 'description': 'Whether result.date is one of the seven state holidays that do not add rest.'}, 'is_statutory_non_working_day': {'type': 'boolean', 'description': 'Whether result.date is a statutory work-free holiday under article 1 or 2, excluding ordinary weekends.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_sk_working_days
Count Slovakia Working Days
Use this when you need an auditable Slovakia 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 pinned Slovakia 2026 statutory rest-day layer over an explicitly declared Monday-Friday planning baseline, not an individual roster. The holidays on May 8 and September 15 are not statutory rest days in 2026; September 1, October 28 and November 17 are state holidays without rest under section 2(3). Do not infer substitute Mondays, payroll premiums, leave rights, retail closures, shift, bank, school, employer or future-year schedules. Later legal changes require a new snapshot. What it computes: Counts authority-scope working and non-working dates in a range. Distinguishes 11 rest-day holidays from five named holidays without statutory rest in 2026. Example user requests: Count Slovakia working days around May 8 is a named holiday but a working date. | Count Slovakia working days around Good Friday. | Count Slovakia working days around November 17 is not statutory rest. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-05-07","end_date":"2026-05-11"} 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, holiday_rest_status, payroll_scope. Formula: working = weekday outside the declared weekly rest and outside statutory_rest_holiday dates Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/slovakia-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/slovakia-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-05-11', 'start_date': '2026-05-07'}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'weekend_baseline, regular_workday or statutory_rest_holiday; not an individual roster.'}, 'territory': {'type': 'string', 'description': 'SK (Slovakia).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'payroll_scope': {'type': 'string', 'description': 'Always not_computed; calendar semantics do not decide wage premiums or leave.'}, 'calendar_scope': {'type': 'string', 'description': 'Slovakia 2026 national statutory rest-day calendar'}, 'holiday_policy': {'type': 'string', 'description': 'Act_241_1993_sections_1_2_4b_2026'}, 'territory_name': {'type': 'string', 'description': 'Slovakia'}, 'dataset_version': {'type': 'string', 'description': 'sk-statutory-rest-days-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'slovakia-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'holiday_rest_status': {'type': 'string', 'description': 'Rest classification on result.date; a named holiday alone never implies non-working status.'}, 'substitute_day_policy': {'type': 'string', 'description': 'No next-Monday substitution or employer day off is inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_south_africa_working_days
Count South Africa Working Days
Use this when you need an auditable South Africa national 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 you need employer, school, bank, exchange or locally exchanged schedules. What it computes: Counts national working and non-working dates in a South Africa 2026-2027 range. Example user requests: Count South Africa working days from 2026-11-03 to 2026-11-06. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-11-03","end_date":"2026-11-06","include_start_date":true,"include_end_date":true} Outputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, holiday_names, calendar_scope, employer_schedule_policy, calendar_profile, dataset_version, sources. Formula: for each included date: working_days += South Africa status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/south-africa-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/south-africa-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-11-06', 'start_date': '2026-11-03', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-11-06'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-11-03'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official South African Government, legislation and Presidency sources.'}, 'territory': {'type': 'string', 'description': 'ZA (South Africa).'}, 'working_days': {'type': 'integer', 'description': 'South Africa national working dates.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'National public holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'National public holidays over a Monday-Friday baseline.'}, 'territory_name': {'type': 'string', 'description': 'South Africa.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned South African Government package.'}, 'calendar_profile': {'type': 'string', 'description': 'south-africa-public-holidays.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact national public holiday dates.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact national events in the range.'}, 'employer_schedule_policy': {'type': 'string', 'description': 'Employer-specific exchanges and rest days are not inferred.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_th_working_days
Count Thailand Working Days
Use this when you need an auditable Thailand 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 is a Bank of Thailand financial-institution calendar, not a universal Thai employee, government, employer, exchange or payment-settlement calendar. Bangkok-only, Islamic-bank and southern-branch conditions remain explicit and are not generalized. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Thailand working days around 2027 substitution. | Count Thailand working days around Bangkok-only event remains conditional. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2027-04-13","end_date":"2027-04-15","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/thailand-financial-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/thailand-financial-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2027-04-15', 'start_date': '2027-04-13', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'TH (Thailand).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Thailand financial institutions and specialized financial institutions'}, 'holiday_policy': {'type': 'string', 'description': 'BOT_published_financial_institution_and_specialized_financial_institution_holidays'}, 'territory_name': {'type': 'string', 'description': 'Thailand'}, 'dataset_version': {'type': 'string', 'description': 'th-bot-financial-holidays-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'thailand-bot-financial-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'BOT_substitution_events_are_pinned; no new substitution is inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_turkey_working_days
Count Türkiye Statutory Working Days
Use this when you need an auditable Türkiye statutory 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 you need a private employer, school, bank, exchange, local or collective-agreement calendar. What it computes: Counts Türkiye statutory-baseline working and non-working dates over a pinned 2026-2027 range. Example user requests: Count Türkiye working days from 2027-03-01 to 2027-03-31. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2027-03-01","end_date":"2027-03-31","include_start_date":true,"include_end_date":true} Outputs: normalized_start_date, normalized_end_date, working_days, non_working_days, general_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, half_day_start_time, non_working_fraction, weekend_days, calendar_scope, half_day_policy, rest_day_policy, calendar_profile, dataset_version, sources. Formula: for each included date: working_days += Turkey status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/turkey-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/turkey-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2027-03-31', 'start_date': '2027-03-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-03-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-03-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official Diyanet and statutory sources.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend, general holiday or half-day general holiday.'}, 'territory': {'type': 'string', 'description': 'TR.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR Saturday/Sunday baseline.'}, 'working_days': {'type': 'integer', 'description': 'Türkiye statutory-baseline working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'full_day or half_day.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Turkish statutory holiday events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Türkiye statutory national public holidays only.'}, 'territory_name': {'type': 'string', 'description': 'Türkiye.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Turkish official evidence package.'}, 'half_day_policy': {'type': 'string', 'description': 'Official 13:00 half-day semantics.'}, 'rest_day_policy': {'type': 'string', 'description': 'Private and sector-specific closures are not inferred.'}, 'calendar_profile': {'type': 'string', 'description': 'tr-statutory-public-holidays.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend, full-day and half-day dates.'}, 'half_day_start_time': {'type': 'string', 'description': '13:00 when an official half-day applies; empty string otherwise.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint.'}, 'non_working_fraction': {'type': 'number', 'description': '1 for a full-day holiday, 0.5 for a published half-day, and 0 for a regular day.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint.'}, 'general_holidays_counted': {'type': 'array', 'description': 'Official events in the range, including half-day fraction.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_tw_working_days
Count 中国台湾省 Working Days
Use this when you need an auditable 中国台湾省 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 government administrative-agency scope only. Public enterprises generally follow the calendar, but special agencies, schools, private employers, local arrangements, banks, exchanges and sector schedules are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count 中国台湾省 working days around Spring Festival substitute holiday. | Count 中国台湾省 working days around Government calendar does not mean private-employer closure. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2027-02-04","end_date":"2027-02-10","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/taiwan-government-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/taiwan-government-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2027-02-10', 'start_date': '2027-02-04', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-12-31'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'TW (中国台湾省).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': '中国台湾省政府行政機關工作日曆 2026-2027'}, 'holiday_policy': {'type': 'string', 'description': 'DGPA government administrative-agency non-working dates and published substitute holidays are applied over a Monday-Friday baseline.'}, 'territory_name': {'type': 'string', 'description': '中国台湾省'}, 'dataset_version': {'type': 'string', 'description': 'tw-dgpa-government-calendar-2026-2027.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'taiwan-government-work-calendar'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Only DGPA-published 2026-2027 substitute dates are applied; no private-employer or local-sector inference.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_uae_federal_working_days
Count UAE Federal Government Working Days
Use this when you need an auditable UAE federal-government workday count for 2026. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a local-government, private-employer, bank, exchange, school or future-year calendar. What it computes: Counts UAE federal-government working and non-working dates in an exact 2026 range. Example user requests: Count UAE federal-government working days from 2026-08-24 to 2026-08-31. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-08-24","end_date":"2026-08-31","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, jurisdiction, day_type, weekend_days, holiday_names, holiday_legal_bases, calendar_scope, private_sector_policy, unresolved_lunar_rules, calendar_profile, dataset_version, sources. Formula: for each included date: working_days += UAE federal status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/uae-federal-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/uae-federal-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-08-31', 'start_date': '2026-08-24', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-08-31'], 'description': 'Last date in 2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-08-24'], 'description': 'First date in 2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official UAE Government, legislation and FAHR sources.'}, 'day_type': {'type': 'string', 'description': 'Regular workday, official weekend or public holiday.'}, 'territory': {'type': 'string', 'description': 'AE.'}, 'jurisdiction': {'type': 'string', 'description': 'UAE federal government.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Saturday and Sunday for the federal-government baseline.'}, 'working_days': {'type': 'integer', 'description': 'UAE federal-government working dates.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Exact-date public holidays applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'UAE federal-government workweek and national public holidays.'}, 'territory_name': {'type': 'string', 'description': 'United Arab Emirates.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned FAHR/UAE Government package.'}, 'calendar_profile': {'type': 'string', 'description': 'uae-fahr-federal-holidays.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact public-holiday dates.'}, 'holiday_legal_bases': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Government announcement or Cabinet Resolution basis.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint.'}, 'private_sector_policy': {'type': 'string', 'description': 'Employer weekly rest-day limitation.'}, 'unresolved_lunar_rules': {'type': 'array', 'description': 'Rules still awaiting an official Gregorian date, if any.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact official events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_uk_working_days
UK Working Days Between Dates
Use this when you need a 2024-2028 UK SLA, payroll, project or delivery-day count and the selected division's bank holidays must be excluded. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need only elapsed calendar days, a local/employer/market calendar, another jurisdiction or dates outside 2024-2028. What it computes: Counts working and non-working dates in England and Wales, Scotland or Northern Ireland using the official GOV.UK bank-holiday list instead of a weekday-only approximation. Example user requests: How many England and Wales working days are there from 24 December 2026 through 4 January 2027? | Count Northern Ireland business days from 10 to 14 July 2026 inclusive. | How many Scottish working days fall between 1 and 20 June 2026? Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional); division (enum, optional). Complete JSON argument examples: {"start_date":"2026-12-24","end_date":"2027-01-04","include_start_date":true,"include_end_date":true,"division":"england-and-wales"} | {"start_date":"2026-07-10","end_date":"2026-07-14","include_start_date":true,"include_end_date":true,"division":"northern-ireland"} Outputs: division, division_name, normalized_start_date, normalized_end_date, working_days [working days], non_working_days [days], calendar_days_counted [days], bank_holidays_counted, dataset_version, coverage_start, coverage_end, source_snapshot_sha256. Formula: for each included date: working_days += is_working_day(date); non_working_days += not is_working_day(date) Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/uk-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/uk-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'division': 'england-and-wales', 'end_date': '2027-01-04', 'start_date': '2026-12-24', 'include_end_date': True, 'include_start_date': True}, {'division': 'northern-ireland', 'end_date': '2026-07-14', 'start_date': '2026-07-10', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'division': {'enum': ['england-and-wales', 'scotland', 'northern-ireland'], 'type': 'string', 'default': 'england-and-wales', 'examples': ['england-and-wales'], 'description': 'GOV.UK bank-holiday division. England and Wales share one official list; Scotland and Northern Ireland have separate lists.'}, 'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-01-04'], 'description': 'Second range endpoint in YYYY-MM-DD format, within 2024-2028.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-24'], 'description': 'First range endpoint in YYYY-MM-DD format, within 2024-2028.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether the normalized later endpoint participates in the count.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether the normalized earlier endpoint participates in the count.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'division': {'type': 'string', 'description': 'Canonical GOV.UK division id.'}, 'coverage_end': {'type': 'string', 'format': 'date', 'description': 'Last supported date in this pinned package.'}, 'working_days': {'type': 'integer', 'x-unit': 'working days', 'description': 'Monday-Friday dates not listed as a bank holiday. Unit: working days.'}, 'division_name': {'type': 'string', 'description': 'Human-readable UK division.'}, 'coverage_start': {'type': 'string', 'format': 'date', 'description': 'First supported date in this pinned package.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned Calcgrid snapshot version of the GOV.UK bank-holiday package.'}, 'non_working_days': {'type': 'integer', 'x-unit': 'days', 'description': 'Weekend and bank-holiday dates in the selected range. Unit: days.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint after normalization.'}, 'bank_holidays_counted': {'type': 'array', 'description': 'Official bank-holiday events in the selected range.'}, 'calendar_days_counted': {'type': 'integer', 'x-unit': 'days', 'description': 'Total dates included after endpoint rules. Unit: days.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint after normalization.'}, 'source_snapshot_sha256': {'type': 'string', 'description': 'SHA-256 of the complete official GOV.UK JSON response used for this package.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_us_federal_working_days
Count US Federal Working Days
Use this when you need an auditable federal-employee/office working-day count for a pinned year. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a state/local/private-employer/exchange or alternate work-schedule calendar. What it computes: Counts US federal-baseline working and non-working dates using the OPM 2026-2027 schedule. Example user requests: Count US federal working days from 2027-07-01 to 2027-07-10. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2027-07-01","end_date":"2027-07-10","include_start_date":true,"include_end_date":true} Outputs: normalized_start_date, normalized_end_date, working_days, non_working_days, federal_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_observed, holiday_actual_dates, weekend_days, rest_day_policy, calendar_scope, calendar_profile, source_quality, dataset_version, sources. Formula: for each included date: working_days += US federal status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/us-federal-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/us-federal-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2027-07-10', 'start_date': '2027-07-01', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2027-07-10'], 'description': 'Last date in 2026-2027.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2027-07-01'], 'description': 'First date in 2026-2027.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Official OPM, federal guidance and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Regular weekday, regular weekend or OPM federal holiday.'}, 'territory': {'type': 'string', 'description': 'US.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'CLDR Saturday/Sunday baseline.'}, 'working_days': {'type': 'integer', 'description': 'US federal-baseline working dates.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'OPM federal holiday names applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Federal employees and federal offices only.'}, 'source_quality': {'type': 'string', 'description': 'Official OPM schedule and federal-law references.'}, 'territory_name': {'type': 'string', 'description': 'United States.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned OPM evidence package.'}, 'rest_day_policy': {'type': 'string', 'description': 'OPM alternative work schedules need separate in-lieu resolution.'}, 'calendar_profile': {'type': 'string', 'description': 'us-opm-federal-holidays.'}, 'holiday_observed': {'type': 'boolean', 'description': 'True when the date is the OPM in-lieu/observed date for a holiday whose actual date is a weekend.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and OPM federal-holiday dates.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint.'}, 'holiday_actual_dates': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Underlying statutory holiday dates for observed events.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint.'}, 'federal_holidays_counted': {'type': 'array', 'description': 'OPM events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_uzbekistan_working_days
Count Uzbekistan Working Days
Use this when you need an auditable nationwide count with explicit workweek semantics. 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 workweek or employer/shift scope is unknown. What it computes: Counts working and non-working dates in Uzbekistan's pinned 2026 schedule for a required workweek variant. Example user requests: Count five-day Uzbekistan working days from 2026-05-25 to 2026-06-02. Inputs: start_date (date); end_date (date); workweek (integer); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-05-25","end_date":"2026-06-02","workweek":5,"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, workweek, weekly_rest_model, weekday, is_working_day, day_type, weekend_days, holiday_names, holiday_kinds, holiday_details, calendar_scope, 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/uzbekistan-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/uzbekistan-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-06-02', 'workweek': 5, 'start_date': '2026-05-25', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date', 'workweek'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-06-02'], 'description': 'Last date in 2026.'}, 'workweek': {'type': 'integer', 'maximum': 6, 'minimum': 5, 'examples': [5], 'description': 'Required official schedule variant: 5 for Saturday-Sunday rest, or 6 for Sunday-only rest.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-05-25'], 'description': 'First date in 2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and cross-check sources.'}, 'weekday': {'type': 'string', 'description': 'Gregorian weekday.'}, 'day_type': {'type': 'string', 'description': 'Official weekend, statutory holiday, additional rest, transferred rest, special working day or regular workday.'}, 'workweek': {'type': 'integer', 'description': 'Selected five-day or six-day workweek.'}, 'territory': {'type': 'string', 'description': 'UZ.'}, 'weekend_days': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Selected weekly-rest baseline.'}, 'working_days': {'type': 'integer', 'description': 'Working dates counted.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Structured event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Official events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Nationwide 2026 statutory and PF-257 schedule scope.'}, 'is_working_day': {'type': 'boolean', 'description': 'Whether the date is working under the selected official workweek variant.'}, 'territory_name': {'type': 'string', 'description': 'Uzbekistan.'}, 'dataset_version': {'type': 'string', 'description': 'Pinned package version.'}, 'holiday_details': {'type': 'array', 'description': 'Events with legal basis.'}, 'calendar_profile': {'type': 'string', 'description': 'uzbekistan-public-holidays.'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and official rest dates.'}, 'weekly_rest_model': {'type': 'string', 'description': 'Weekly rest baseline applied.'}, 'normalized_end_date': {'type': 'string', 'format': 'date', 'description': 'Later endpoint.'}, 'normalized_start_date': {'type': 'string', 'format': 'date', 'description': 'Earlier endpoint.'}, 'substitute_day_policy': {'type': 'string', 'description': 'Published transfers only; no employer/shift inference.'}, 'public_holidays_counted': {'type': 'array', 'description': 'Official events in range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
count_vn_working_days
Count Vietnam Working Days
Use this when you need an auditable Vietnam 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 public-sector and statutory paid-holiday layer only; private-employer, non-Saturday/Sunday workweeks, provincial, sector, bank, school and employer schedules are not inferred. The proposed four-day 2026 Vietnam Cultural Day public-sector arrangement is not encoded until finally approved. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count Vietnam working days around New Year transfer. | Count Vietnam working days around Vietnam Cultural 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-26","end_date":"2026-05-01","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/vietnam-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/vietnam-public-working-days-between.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-05-01', 'start_date': '2026-04-26', 'include_end_date': True, 'include_start_date': True}], 'required': ['start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last date in 2026-2026.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First date in 2026-2026.'}, 'include_end_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether end_date participates.'}, 'include_start_date': {'type': 'boolean', 'default': True, 'examples': [True], 'description': 'Whether start_date participates.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'sources': {'type': 'array', 'description': 'Authority and legislation sources.'}, 'day_type': {'type': 'string', 'description': 'Deterministic classification: official_weekend, regular_workday, or the first published authority event kind.'}, 'territory': {'type': 'string', 'description': 'VN (Vietnam).'}, 'working_days': {'type': 'integer', 'description': 'Authority-scope working dates.'}, 'holiday_kinds': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Authority event classifications.'}, 'holiday_names': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Events applying on the date.'}, 'calendar_scope': {'type': 'string', 'description': 'Vietnam public-sector 2026 holiday schedule and nationwide statutory paid holidays'}, 'holiday_policy': {'type': 'string', 'description': 'Vietnam_2026_public_sector_schedule_plus_statutory_paid_holidays'}, 'territory_name': {'type': 'string', 'description': 'Vietnam'}, 'dataset_version': {'type': 'string', 'description': 'vn-public-holidays-2026.1'}, 'holiday_details': {'type': 'array', 'description': 'Structured event details, including partial-day notes where published.'}, 'calendar_profile': {'type': 'string', 'description': 'vietnam-public-holidays'}, 'non_working_days': {'type': 'integer', 'description': 'Weekend and exact authority events.'}, 'substitute_day_policy': {'type': 'string', 'description': 'published_2026_transfers_only; private_employer_options_and_unapproved_proposals_not_inferred'}, 'public_holidays_counted': {'type': 'array', 'description': 'Exact events in the range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
estimate_ev_charging_time
EV Charging Time Calculator
Use this when you want to know how long an EV needs on a home wallbox, a public AC post or a DC fast charger to reach a target charge, or what the session costs at a given electricity price. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a battery's charge time from ampere-hours and charger current (use battery-charge-time) or the driving range the added energy gives (use ev-range-efficiency); DC fast charging above about 80 % tapers strongly and takes longer than this constant-power estimate. What it computes: Estimates how long an electric vehicle takes to charge between two states of charge from its battery capacity, the charger power (capped by the onboard charger for AC charging) and the charging efficiency, plus the energy drawn from the grid and its cost. Inputs: battery_capacity_kwh (number, kWh); start_percent (number, %, optional); target_percent (number, %, optional); charger_power_kw (number, kW); max_onboard_charger_kw (number, kW, optional); charging_efficiency_percent (number, %, optional); electricity_price_per_kwh (number, per kWh, optional). Complete JSON argument examples: {"battery_capacity_kwh":75,"start_percent":20,"target_percent":80,"charger_power_kw":7,"charging_efficiency_percent":90,"electricity_price_per_kwh":0.3} | {"battery_capacity_kwh":60,"start_percent":10,"target_percent":100,"charger_power_kw":11,"max_onboard_charger_kw":7.4} Outputs: energy_added_kwh [kWh], energy_from_grid_kwh [kWh], effective_power_kw [kW], charging_time_hours [h], charging_time_text, cost, range_note. Formula: energy_added_kwh = battery_capacity_kwh × (target_percent − start_percent) / 100; energy_from_grid_kwh = energy_added_kwh / (charging_efficiency_percent / 100); effective_power_kw = min(charger_power_kw, max_onboard_charger_kw); charging_time_hours = energy_from_grid_kwh / effective_power_kw; cost = energy_from_grid_kwh × electricity_price_per_kwh Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/ev-charging-time with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/energy/ev-charging-time.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'start_percent': 20, 'target_percent': 80, 'charger_power_kw': 7, 'battery_capacity_kwh': 75, 'electricity_price_per_kwh': 0.3, 'charging_efficiency_percent': 90}, {'start_percent': 10, 'target_percent': 100, 'charger_power_kw': 11, 'battery_capacity_kwh': 60, 'max_onboard_charger_kw': 7.4}], 'required': ['battery_capacity_kwh', 'charger_power_kw'], 'properties': {'start_percent': {'type': 'number', 'x-unit': '%', 'default': 20, 'maximum': 100, 'minimum': 0, 'examples': [20], 'description': 'State of charge at the start of the session. Unit: %.'}, 'target_percent': {'type': 'number', 'x-unit': '%', 'default': 80, 'maximum': 100, 'minimum': 0, 'examples': [80], 'description': 'State of charge to reach; must be higher than start_percent. Unit: %.'}, 'charger_power_kw': {'type': 'number', 'x-unit': 'kW', 'maximum': 1000, 'examples': [7], 'description': 'Power the charging point delivers: 1.4–2.3 kW household socket (Level 1), 7–22 kW wallbox / AC post (Level 2), 50–350 kW DC fast charger. Unit: kW.', 'exclusiveMinimum': 0}, 'battery_capacity_kwh': {'type': 'number', 'x-unit': 'kWh', 'maximum': 1000, 'examples': [75], 'description': 'Usable battery capacity in kilowatt-hours (e.g. 40, 60, 75, 100). Unit: kWh.', 'exclusiveMinimum': 0}, 'max_onboard_charger_kw': {'type': 'number', 'x-unit': 'kW', 'maximum': 1000, 'examples': [11], 'description': "Optional maximum AC charging power of the car's onboard charger (commonly 7.4 or 11 kW); the effective power is the lower of the two. Omit for DC charging. Unit: kW.", 'exclusiveMinimum': 0}, 'electricity_price_per_kwh': {'type': 'number', 'x-unit': 'per kWh', 'maximum': 100, 'minimum': 0, 'examples': [0.3], 'description': 'Optional price per kWh in your currency for the cost of the session (grid energy × price). Unit: per kWh.'}, 'charging_efficiency_percent': {'type': 'number', 'x-unit': '%', 'default': 90, 'maximum': 100, 'minimum': 50, 'examples': [90], 'description': 'Share of grid energy stored in the battery; 85–92 % is typical for AC charging (onboard charger and battery losses). Unit: %.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'cost': {'type': 'number', 'description': 'energy_from_grid_kwh × electricity_price_per_kwh; only when a price is given.'}, 'range_note': {'type': 'string', 'description': 'Approximate driving range the added energy gives at an example consumption of 160 Wh/km.'}, 'energy_added_kwh': {'type': 'number', 'x-unit': 'kWh', 'description': 'battery_capacity_kwh × (target_percent − start_percent) / 100. Unit: kWh.'}, 'charging_time_text': {'type': 'string', 'description': 'Charging time as hours and minutes, e.g. "7 h 9 min".'}, 'effective_power_kw': {'type': 'number', 'x-unit': 'kW', 'description': 'min(charger_power_kw, max_onboard_charger_kw). Unit: kW.'}, 'charging_time_hours': {'type': 'number', 'x-unit': 'h', 'description': 'energy_from_grid_kwh / effective_power_kw. Unit: h.'}, 'energy_from_grid_kwh': {'type': 'number', 'x-unit': 'kWh', 'description': 'energy_added_kwh / efficiency (what the meter records). Unit: kWh.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
find_chinese_zodiac
Chinese Zodiac Calculator (生肖)
Use this when you need someone's Chinese zodiac sign and element from a Gregorian birth date, especially for January–February births where the boundary matters, or the sign's traditional compatibility groups. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you need a full Bazi chart with month, day and hour pillars (use bazi-four-pillars), or the Western star sign (use zodiac). What it computes: Finds the Chinese zodiac animal (生肖 shengxiao), sexagenary year (干支 ganzhi), stem element, yin/yang, nayin (纳音) and fixed element for a birth date, using either the Chinese New Year boundary or the 立春 (Lichun) boundary, plus the traditional relationship groups (六合, 三合, 六冲, 六害, 相刑) and 本命年 years. Inputs: birth_date (date); boundary (enum, optional); reference_year (integer, optional). Complete JSON argument examples: {"birth_date":"1990-02-10","boundary":"lunar_new_year","reference_year":2026} | {"birth_date":"1990-02-03","boundary":"lichun"} Outputs: zodiac, zodiac_cn, year_ganzhi, year_ganzhi_pinyin, year_english, stem_element, yin_yang, nayin, animal_fixed_element, year_used, chinese_new_year_date, lichun_datetime, boundary_note, benmingnian_years, secret_friend, trine_partners, clash, harm, punishment, age_in_reference_year [years], is_benmingnian_in_reference_year, reference_year_zodiac. Formula: year_used = Gregorian year, minus 1 when birth_date is before Chinese New Year (or before 立春 with boundary = lichun); ganzhi index = (year_used − 4) mod 60; animal = branch = index mod 12; 六合 partner = (13 − b) mod 12; 三合 = b ± 4; 六冲 = b + 6; 六害 partner = (7 − b) mod 12 Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/chinese-zodiac with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/lunar/chinese-zodiac.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'boundary': 'lunar_new_year', 'birth_date': '1990-02-10', 'reference_year': 2026}, {'boundary': 'lichun', 'birth_date': '1990-02-03'}], 'required': ['birth_date'], 'properties': {'boundary': {'enum': ['lunar_new_year', 'lichun'], 'type': 'string', 'default': 'lunar_new_year', 'examples': ['lunar_new_year'], 'description': 'Which event starts the zodiac year: Chinese New Year (popular usage, default) or 立春 around 4 February (astrological usage).'}, 'birth_date': {'type': 'string', 'format': 'date', 'examples': ['1990-02-10'], 'description': 'Gregorian birth date (civil date in China Standard Time), 1900–2100.'}, 'reference_year': {'type': 'integer', 'maximum': 2100, 'minimum': 1900, 'examples': [2026], 'description': 'Optional Gregorian year for which to report the age and whether it is a 本命年.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'harm': {'type': 'string', 'description': 'Six-harm counterpart of the sign.'}, 'clash': {'type': 'string', 'description': 'Opposite sign on the 12-branch circle.'}, 'nayin': {'type': 'string', 'description': 'Nayin melodic element of the year ganzhi.'}, 'zodiac': {'type': 'string', 'description': 'Animal sign in English.'}, 'yin_yang': {'type': 'string', 'description': 'Polarity of the stem (and branch) of the year.'}, 'year_used': {'type': 'integer', 'description': 'Year number the birth date was assigned to under the chosen boundary.'}, 'zodiac_cn': {'type': 'string', 'description': 'Animal sign character.'}, 'punishment': {'type': 'string', 'description': 'Punishment partners: 寅巳申 and 丑戌未 groups, the 子卯 pair, or self-punishment (自刑) for 辰午酉亥.'}, 'year_ganzhi': {'type': 'string', 'description': 'Sexagenary year, e.g. 庚午.'}, 'stem_element': {'type': 'string', 'description': 'Element of the heavenly stem with its character.'}, 'year_english': {'type': 'string', 'description': 'Stem element and animal, e.g. Metal Horse.'}, 'boundary_note': {'type': 'string', 'description': 'Whether the birth date fell before or after the chosen boundary, and what the other convention would give.'}, 'secret_friend': {'type': 'string', 'description': 'Six-harmony partner of the sign.'}, 'trine_partners': {'type': 'string', 'description': 'The two other signs of the same triangle of affinity.'}, 'lichun_datetime': {'type': 'string', 'description': 'Instant of 立春 in the Gregorian year of birth (China Standard Time).'}, 'benmingnian_years': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Zodiac years of the same animal from the birth year to birth year + 96, with their ganzhi.'}, 'year_ganzhi_pinyin': {'type': 'string', 'description': 'Pinyin, e.g. Gengwu.'}, 'animal_fixed_element': {'type': 'string', 'description': 'Element of the earthly branch: Rat Water, Ox Earth, Tiger Wood, Rabbit Wood, Dragon Earth, Snake Fire, Horse Fire, Goat Earth, Monkey Metal, Rooster Metal, Dog Earth, Pig Water.'}, 'age_in_reference_year': {'type': 'integer', 'x-unit': 'years', 'description': 'Age reached on the birthday in reference_year (reference_year − Gregorian birth year); only when reference_year is given. Unit: years.'}, 'chinese_new_year_date': {'type': 'string', 'format': 'date', 'description': 'Date of 正月初一 in the Gregorian year of birth.'}, 'reference_year_zodiac': {'type': 'string', 'description': 'Ganzhi and animal of the year numbered reference_year; only when reference_year is given.'}, 'is_benmingnian_in_reference_year': {'type': 'boolean', 'description': 'true when the zodiac year numbered reference_year has the same animal as the birth year; only when reference_year is given.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
get_calculator_schema
Get calculator schema
Use this only after search_calculators when its input_hints do not resolve a range, enum or optional-field question. Return the full input/output schema, formula, sources, examples and limitations for one calculator. Do not call it when the search result already supplies enough input detail; call run_calculator instead. This tool only describes and does not calculate.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['calculator_id'], 'properties': {'calculator_id': {'type': 'string', 'examples': ['compound-interest'], 'description': "Exact calculator_id returned by search_calculators; for example 'bmi' or 'compound-interest'."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object'}, 'request': {'type': 'object'}, 'success': {'type': 'boolean', 'const': True}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}}, 'description': 'Read-only catalogue or schema result used to select a calculation tool.'}
list_calculator_categories
List categories
List the calculator categories with id, name, description and calculator count. Use it to orient before list_calculators. Does not perform calculations.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'properties': {}, 'additionalProperties': False}
list_calculators
List calculators
List all calculators, optionally filtered by category id (finance, health, fitness, math, geometry, statistics, conversion, physics, chemistry, everyday, food, construction, business, time, medical, engineering, weather, investing, developer, energy, photography, science, gaming, lunar, yijing). Returns calculator_id, name, description, use_when and required inputs for each. Use it to browse a whole category; use search_calculators for keyword lookup. Does not perform calculations.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'properties': {'category': {'enum': ['finance', 'health', 'fitness', 'math', 'geometry', 'statistics', 'conversion', 'physics', 'chemistry', 'everyday', 'food', 'construction', 'business', 'time', 'medical', 'engineering', 'weather', 'investing', 'developer', 'energy', 'photography', 'science', 'gaming', 'lunar', 'yijing'], 'type': 'string', 'description': 'Category id.'}}, 'additionalProperties': False}
list_solar_terms
24 Solar Terms Calculator (二十四节气)
Use this when you need the date or time of 立春, 清明, 夏至, 冬至 or any other solar term in a given year, or the full 24-term table. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you only need the term that a specific date falls in (use lunar-calendar-converter), or you need sunrise/sunset times (use sunrise-sunset). What it computes: Lists the 24 solar terms (节气 jieqi) of a Gregorian year with their exact instants: the moments the Sun's apparent longitude reaches multiples of 15°, computed astronomically and shown in a chosen UTC offset (China Standard Time by default). Example user requests: List all 24 solar terms for 2027 in UTC+8. | 2026 年立春和冬至的准确时间是什么? | When is Qingming this year in China Standard Time? Inputs: year (integer); utc_offset_hours (number, h, optional). Complete JSON argument examples: {"year":2024,"utc_offset_hours":8} | {"year":2026,"utc_offset_hours":8} Outputs: terms, lichun_date, spring_equinox, summer_solstice, autumn_equinox, winter_solstice, year_ganzhi, suishou_note, utc_offset. Formula: term instant: apparent geocentric solar longitude λ(JDE) = k·15° for k = 0 (春分) … 23 (惊蛰), solved by Newton iteration; UT = TT − ΔT; local time = UT + utc_offset_hours Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/solar-terms with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/lunar/solar-terms.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'year': 2024, 'utc_offset_hours': 8}, {'year': 2026, 'utc_offset_hours': 8}], 'required': ['year'], 'properties': {'year': {'type': 'integer', 'maximum': 2100, 'minimum': 1900, 'examples': [2024], 'description': 'Gregorian calendar year (1900–2100).'}, 'utc_offset_hours': {'type': 'number', 'x-unit': 'h', 'default': 8, 'maximum': 14, 'minimum': -12, 'examples': [8], 'description': 'Fixed UTC offset in hours for the local date-times (8 = China Standard Time; 9 = Japan/Korea; 5.5 = India). Unit: h.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'terms': {'type': 'array', 'description': '24 rows in calendar order (小寒 first): name_cn, pinyin, english, solar_longitude (°), datetime_local, datetime_utc, date, type (major 中气 / minor 节).'}, 'utc_offset': {'type': 'string', 'description': 'Offset applied to datetime_local and date.'}, 'lichun_date': {'type': 'string', 'description': 'Local date and time (HH:MM) of 立春, the start of the solar-term year.'}, 'year_ganzhi': {'type': 'string', 'description': 'Sexagenary name of the year with pinyin and element/animal.'}, 'suishou_note': {'type': 'string', 'description': 'When the sexagenary year begins under solar-term reckoning (立春) versus the lunar calendar (Chinese New Year).'}, 'autumn_equinox': {'type': 'string', 'description': 'Local date and time of 秋分 (180°).'}, 'spring_equinox': {'type': 'string', 'description': 'Local date and time of 春分 (Sun at 0°).'}, 'summer_solstice': {'type': 'string', 'description': 'Local date and time of 夏至 (90°).'}, 'winter_solstice': {'type': 'string', 'description': 'Local date and time of 冬至 (270°).'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
list_time_zone_transitions
IANA Time Zone Transition List
Use this when you need the next or historical daylight-saving/offset changes for scheduling, payroll, travel, audits or a regression test, with a specific reproducible tzdb version. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you only need to convert one ordinary date-time, need legal advice about a jurisdiction's time law, or need changes announced after this pinned release. What it computes: Lists every UTC-offset transition for one IANA zone and date range using pinned tzdb 2026d, including the local boundaries, offsets, abbreviations and whether the clock creates a gap or overlap. Example user requests: List every 2026 UTC-offset transition in America/New_York with local boundaries. | When does Australia/Adelaide change clocks between 2026-01-01 and 2027-01-01? | 列出 Europe/London 在 2026 年的夏令时转换点、前后偏移和 IANA 数据版本。 Inputs: time_zone (string); start_date (date); end_date (date). Complete JSON argument examples: {"time_zone":"America/New_York","start_date":"2026-01-01","end_date":"2026-12-31"} Outputs: time_zone, resolved_zone_id, start_date, end_date, transition_count, transitions, tzdb_version, dataset_version, source_url, source_sha256, coverage_note. Formula: select zone transition instants whose local boundary before or after lies inside [start_date, end_date] Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/time-zone-transitions with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/time/time-zone-transitions.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'end_date': '2026-12-31', 'time_zone': 'America/New_York', 'start_date': '2026-01-01'}], 'required': ['time_zone', 'start_date', 'end_date'], 'properties': {'end_date': {'type': 'string', 'format': 'date', 'examples': ['2026-12-31'], 'description': 'Last local calendar date to inspect; ranges may not exceed 3,660 days.'}, 'time_zone': {'type': 'string', 'examples': ['America/New_York'], 'maxLength': 64, 'description': 'IANA zone identifier present in tzdb 2026d.'}, 'start_date': {'type': 'string', 'format': 'date', 'examples': ['2026-01-01'], 'description': 'First local calendar date to inspect (1900-01-01 through 2100-12-31).'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'end_date': {'type': 'string', 'format': 'date', 'description': 'Last local date inspected.'}, 'time_zone': {'type': 'string', 'description': 'Zone identifier supplied by the caller.'}, 'source_url': {'type': 'string', 'description': 'Version-specific official IANA release URL.'}, 'start_date': {'type': 'string', 'format': 'date', 'description': 'First local date inspected.'}, 'transitions': {'type': 'array', 'description': 'UTC instant, gap/overlap kind, local boundaries, abbreviations and offsets before/after.'}, 'tzdb_version': {'type': 'string', 'description': 'Pinned IANA release used for every offset and transition.'}, 'coverage_note': {'type': 'string', 'description': 'Coverage and rule-change limitations for this fixed version.'}, 'source_sha256': {'type': 'string', 'description': 'SHA-256 of the downloaded official IANA tzdata release artifact.'}, 'dataset_version': {'type': 'string', 'description': 'Immutable Calcgrid evidence-package version.'}, 'resolved_zone_id': {'type': 'string', 'description': 'Zone record used by the pinned data build.'}, 'transition_count': {'type': 'integer', 'description': 'Number of offset changes in the selected local-date range.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
list_units
List units
List every unit symbol supported by convert_units, grouped by quantity, with names. Use it when a unit symbol is rejected with UNKNOWN_UNIT. Does not convert anything.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'properties': {'quantity': {'type': 'string', 'description': "Optional quantity id to filter (e.g. 'length')."}}, 'additionalProperties': False}
list_working_day_calendars
List working-day calendars
Use this before a working-day or business-day task to select the correct evidence package. It distinguishes the worldwide CLDR weekday/weekend baseline, the broad source-labelled OpenWorkdays national-scope reference, the clearly labelled OpenHolidays nationwide public-holiday reference, and the official public-holiday calendars for mainland China, Singapore, Australia, the US, Canada, Japan, India's central government, UAE federal government, New Zealand, South Africa, Ireland plus the UK. The result contains one machine-readable route per CLDR territory, or one route when the optional territory filter is supplied, including whether holiday semantics are unsupported, reference-only, or require a jurisdiction-specific input such as the UK division, Australian state/territory or Indian office scope. US is OPM federal scope only; CA is Canada Labour Code federally regulated-employer scope and does not infer substitute days; JP is statutory national holidays only and does not infer employer closures; IN preserves Gazetted/Restricted classes and does not infer state/UT or local optional selections; AE is UAE federal-government scope with exact 2026 dates only and does not infer local/private schedules or unresolved lunar dates; NZ is national statutory dates only and does not infer regional anniversary days; ZA is national public holidays over a Monday-Friday baseline and does not infer employer holiday exchanges; IE excludes Good Friday and does not infer next-working-day closures for weekend holidays. This is read-only catalogue discovery; it does not calculate a date or count and must not be reported as a calculation success.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'properties': {'territory': {'type': 'string', 'pattern': '^[A-Z]{2}$', 'examples': ['TW', 'AU'], 'maxLength': 2, 'description': 'Optional CLDR alpha-2 territory code to return one route instead of all 272 routes. Use TW for 中国台湾省, CN for 中国大陆, or GB for the UK; codes are normalized to uppercase.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object'}, 'request': {'type': 'object'}, 'success': {'type': 'boolean', 'const': True}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}}, 'description': 'Read-only catalogue or schema result used to select a calculation tool.'}
lookup_iching_hexagram
I Ching Hexagram Lookup (六十四卦)
Use this when you need to identify or describe a hexagram, convert between its number, name, trigram pair and line pattern, or find its derived hexagrams and palace position. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery. Do not use this when you have moving lines and need the changed hexagram and reading rule (use hexagram-change), or you need to cast a hexagram from a date or numbers (use meihua-yishu). What it computes: Identifies one of the 64 hexagrams (六十四卦, liushisi gua) from its King Wen number, name, two trigrams or line digits and returns its lines, trigrams, nuclear (互卦, hugua), inverse (综卦, zonggua) and opposite (错卦, cuogua) hexagrams, its Jing Fang palace (京房八宫, Jingfang bagong) with 世/应 (shi/ying) lines, and the received judgment text (卦辞, guaci). Inputs: king_wen_number (integer, optional); name (string, optional); upper_trigram (string, optional); lower_trigram (string, optional); lines (string, optional). Valid input combinations: Identify the hexagram with king_wen_number, name, lines, or the complete upper_trigram + lower_trigram pair. Multiple identification methods may be supplied when they agree. Complete JSON argument examples: {"king_wen_number":1} | {"lines":"100010"} Outputs: number, name_cn, full_name_cn, pinyin, english, symbol, lines, lines_text, upper_trigram, lower_trigram, nuclear_hexagram, inverse_hexagram, opposite_hexagram, palace, palace_position, shi_line, ying_line, judgment_text, sequence_pair, binary_value, notes. Formula: lower trigram = lines 1–3, upper trigram = lines 4–6; nuclear = lines 2,3,4 + 3,4,5; inverse = reversed line order; opposite = each line flipped; binary_value = Σ line_i · 2^(i−1); 应 = 世 ± 3 Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/hexagram-lookup with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/yijing/hexagram-lookup.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'anyOf': [{'required': ['king_wen_number']}, {'required': ['name']}, {'required': ['lines']}, {'required': ['upper_trigram', 'lower_trigram']}], 'examples': [{'king_wen_number': 1}, {'lines': '100010'}], 'properties': {'name': {'type': 'string', 'examples': ['屯'], 'maxLength': 40, 'description': 'Chinese name (屯, 水雷屯, 乾为天; traditional forms accepted), pinyin (zhun; ambiguous pinyin such as qian or bi is rejected with the candidates) or Wilhelm/Baynes title (Difficulty at the Beginning).'}, 'lines': {'type': 'string', 'examples': ['100010'], 'maxLength': 6, 'description': 'Six digits from line 1 (bottom) to line 6 (top): 1/0 for yang/yin, or 6/7/8/9 (老阴/少阳/少阴/老阳) as produced by yarrow or coin casting.'}, 'lower_trigram': {'type': 'string', 'examples': ['震'], 'maxLength': 20, 'description': 'Lower (inner) trigram, in any form accepted by bagua.'}, 'upper_trigram': {'type': 'string', 'examples': ['坎'], 'maxLength': 20, 'description': 'Upper (outer) trigram, in any form accepted by bagua (坎, kan, water, ☵, 010). Must be given together with lower_trigram.'}, 'king_wen_number': {'type': 'integer', 'maximum': 64, 'minimum': 1, 'examples': [3], 'description': 'Hexagram number 1–64 in the King Wen sequence (1 = 乾, 64 = 未济). Give exactly one of king_wen_number, name, lines or the trigram pair.'}}, 'description': 'Identify the hexagram with king_wen_number, name, lines, or the complete upper_trigram + lower_trigram pair. Multiple identification methods may be supplied when they agree.', 'dependentRequired': {'lower_trigram': ['upper_trigram'], 'upper_trigram': ['lower_trigram']}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'lines': {'type': 'string', 'description': 'Six digits from line 1 to line 6; 1 = yang, 0 = yin.'}, 'notes': {'type': 'string', 'description': 'Conventions used.'}, 'number': {'type': 'integer', 'description': 'Position 1–64 in the King Wen sequence.'}, 'palace': {'type': 'string', 'description': 'Jing Fang (京房) palace the hexagram belongs to, with its element.'}, 'pinyin': {'type': 'string', 'description': 'Hanyu pinyin of the name.'}, 'symbol': {'type': 'string', 'description': 'Unicode hexagram symbol (U+4DC0 + number − 1).'}, 'english': {'type': 'string', 'description': 'Wilhelm/Baynes title.'}, 'name_cn': {'type': 'string', 'description': 'Simplified Chinese name.'}, 'shi_line': {'type': 'integer', 'description': 'Position (1–6) of the 世 line: 6 for the palace hexagram, 1–5 for generations 1–5, 4 for 游魂, 3 for 归魂.'}, 'ying_line': {'type': 'integer', 'description': 'Position of the 应 line, three lines away from 世.'}, 'lines_text': {'type': 'string', 'description': 'Traditional line titles from bottom to top, e.g. 初九 六二 … 上六.'}, 'binary_value': {'type': 'integer', 'description': 'Integer of the six bits with the top line as the most significant bit (乾 = 63, 坤 = 0).'}, 'full_name_cn': {'type': 'string', 'description': 'Traditional descriptive name with the trigram images, e.g. 水雷屯 or 乾为天.'}, 'judgment_text': {'type': 'string', 'description': 'Received classical judgment text of the 周易 (Zhouyi), simplified characters.'}, 'lower_trigram': {'type': 'string', 'description': 'Inner trigram (lines 1–3) with pinyin, symbol and nature.'}, 'sequence_pair': {'type': 'string', 'description': 'Partner hexagram in the King Wen pairing (2n−1, 2n): its inverse, or its opposite for the eight symmetric hexagrams.'}, 'upper_trigram': {'type': 'string', 'description': 'Outer trigram (lines 4–6) with pinyin, symbol and nature.'}, 'palace_position': {'type': 'string', 'description': '本宫 / 一世 … 五世 / 游魂 / 归魂 position within the palace.'}, 'inverse_hexagram': {'type': 'string', 'description': 'The hexagram turned upside down (lines reversed).'}, 'nuclear_hexagram': {'type': 'string', 'description': 'Hexagram formed by lines 2-3-4 (lower) and 3-4-5 (upper).'}, 'opposite_hexagram': {'type': 'string', 'description': 'All six lines flipped yin↔yang.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
price_black_scholes_option
Black-Scholes Option Calculator
Use this when you need a theoretical European option price or its sensitivities from a given volatility, or want to check put-call parity for quoted prices. 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 option is American with early exercise value, the underlying pays discrete dividends, or you need implied volatility from a market price (solve numerically instead). Informational only; not financial advice. What it computes: Prices a European call and put with the Black-Scholes-Merton formula from spot, strike, time to expiry, risk-free rate, volatility and a continuous dividend yield, and reports d1, d2 and the Greeks (delta, gamma, vega, theta, rho). Inputs: spot_price (number); strike_price (number); time_years (number, years); risk_free_rate_percent (number, % per year); volatility_percent (number, % per year); dividend_yield_percent (number, % per year, optional). Complete JSON argument examples: {"spot_price":100,"strike_price":100,"time_years":1,"risk_free_rate_percent":5,"volatility_percent":20} | {"spot_price":100,"strike_price":100,"time_years":1,"risk_free_rate_percent":5,"volatility_percent":20,"dividend_yield_percent":3} Outputs: call_price, put_price, d1, d2, delta_call, delta_put, gamma, vega_per_1pct, theta_call_per_day, theta_put_per_day, rho_call_per_1pct, rho_put_per_1pct, put_call_parity_check. Formula: d1 = [ln(S/K) + (r − q + σ²/2)·T] / (σ·√T); d2 = d1 − σ·√T; C = S·e^(−qT)·N(d1) − K·e^(−rT)·N(d2); P = K·e^(−rT)·N(−d2) − S·e^(−qT)·N(−d1); Δ_call = e^(−qT)·N(d1); Γ = e^(−qT)·φ(d1)/(S·σ·√T); vega = S·e^(−qT)·φ(d1)·√T; Θ_call = −S·e^(−qT)·φ(d1)·σ/(2√T) − r·K·e^(−rT)·N(d2) + q·S·e^(−qT)·N(d1); ρ_call = K·T·e^(−rT)·N(d2), with r, q, σ as decimals Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/black-scholes with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/investing/black-scholes.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'spot_price': 100, 'time_years': 1, 'strike_price': 100, 'volatility_percent': 20, 'risk_free_rate_percent': 5}, {'spot_price': 100, 'time_years': 1, 'strike_price': 100, 'volatility_percent': 20, 'dividend_yield_percent': 3, 'risk_free_rate_percent': 5}], 'required': ['spot_price', 'strike_price', 'time_years', 'risk_free_rate_percent', 'volatility_percent'], 'properties': {'spot_price': {'type': 'number', 'maximum': 1000000000, 'examples': [100], 'description': 'Current price of the underlying asset.', 'exclusiveMinimum': 0}, 'time_years': {'type': 'number', 'x-unit': 'years', 'maximum': 50, 'examples': [1], 'description': 'Time until expiration in years (e.g. 0.25 for 3 months). Unit: years.', 'exclusiveMinimum': 0}, 'strike_price': {'type': 'number', 'maximum': 1000000000, 'examples': [100], 'description': 'Exercise price of the option.', 'exclusiveMinimum': 0}, 'volatility_percent': {'type': 'number', 'x-unit': '% per year', 'maximum': 500, 'examples': [20], 'description': "Annualized volatility of the underlying's returns in percent. Unit: % per year.", 'exclusiveMinimum': 0}, 'dividend_yield_percent': {'type': 'number', 'x-unit': '% per year', 'default': 0, 'maximum': 100, 'minimum': 0, 'examples': [0], 'description': 'Continuous dividend yield of the underlying in percent (0 for a non-dividend stock). Unit: % per year.'}, 'risk_free_rate_percent': {'type': 'number', 'x-unit': '% per year', 'maximum': 100, 'minimum': -20, 'examples': [5], 'description': 'Continuously compounded annual risk-free interest rate in percent. Unit: % per year.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'d1': {'type': 'number', 'description': '[ln(S/K) + (r − q + σ²/2)·T] / (σ·√T).'}, 'd2': {'type': 'number', 'description': 'd1 − σ·√T.'}, 'gamma': {'type': 'number', 'description': 'e^(−qT)·φ(d1) / (S·σ·√T): change in delta per 1 unit change in S (same for call and put).'}, 'delta_put': {'type': 'number', 'description': '−e^(−qT)·N(−d1).'}, 'put_price': {'type': 'number', 'description': 'K·e^(−rT)·N(−d2) − S·e^(−qT)·N(−d1).'}, 'call_price': {'type': 'number', 'description': 'S·e^(−qT)·N(d1) − K·e^(−rT)·N(d2).'}, 'delta_call': {'type': 'number', 'description': 'e^(−qT)·N(d1): price change per 1 unit change in S.'}, 'vega_per_1pct': {'type': 'number', 'description': 'S·e^(−qT)·φ(d1)·√T / 100: price change per 1 percentage-point rise in volatility.'}, 'rho_put_per_1pct': {'type': 'number', 'description': '−K·T·e^(−rT)·N(−d2) / 100.'}, 'rho_call_per_1pct': {'type': 'number', 'description': 'K·T·e^(−rT)·N(d2) / 100: price change per 1 percentage-point rise in r.'}, 'theta_put_per_day': {'type': 'number', 'description': 'Annual put theta / 365.'}, 'theta_call_per_day': {'type': 'number', 'description': 'Annual call theta / 365: price decay per calendar day.'}, 'put_call_parity_check': {'type': 'string', 'description': 'C − P compared with S·e^(−qT) − K·e^(−rT).'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
resolve_local_time
IANA Local Time Resolver
Use this when you must safely turn a named-zone local time into an instant, validate a scheduled time around a daylight-saving transition, or preserve every possible interpretation instead of silently choosing one. 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 input already includes a numeric UTC offset or Z, the task only needs the current clock time, or latitude/longitude must first be mapped to a zone. What it computes: Resolves a local wall-clock time with pinned IANA tzdb 2026d. Returns every valid UTC candidate for a repeated fall-back time, or the exact gap and shift-forward suggestion for a nonexistent spring-forward time. Example user requests: Resolve 2026-11-01 01:30 in America/New_York and return both UTC candidates. | Does 2026-03-08 02:30 exist in New York? Show the DST gap. | 判断 Australia/Adelaide 的 2026-10-04 02:30 是否存在,并给出时区数据版本。 Inputs: local_datetime (string); time_zone (string). Complete JSON argument examples: {"local_datetime":"2026-11-01T01:30:00","time_zone":"America/New_York"} | {"local_datetime":"2026-03-08T02:30:00","time_zone":"America/New_York"} Outputs: local_datetime, time_zone, resolved_zone_id, status, candidate_count, candidates, gap, related_transition, previous_transition, next_transition, tzdb_version, dataset_version, source_url, source_sha256, coverage_note. Formula: for each zone offset o: candidate_utc = local_wall_time + o; keep candidates whose active offset at candidate_utc equals o Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/local-time-resolver with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/time/local-time-resolver.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'time_zone': 'America/New_York', 'local_datetime': '2026-11-01T01:30:00'}, {'time_zone': 'America/New_York', 'local_datetime': '2026-03-08T02:30:00'}], 'required': ['local_datetime', 'time_zone'], 'properties': {'time_zone': {'type': 'string', 'examples': ['America/New_York'], 'maxLength': 64, 'description': 'IANA zone identifier present in tzdb 2026d.'}, 'local_datetime': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}[T ](?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d)?$', 'examples': ['2026-11-01T01:30:00'], 'maxLength': 19, 'description': 'Wall-clock date and time without Z or a numeric offset; it will be interpreted only in time_zone.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'gap': {'type': 'object', 'description': 'Clock-forward gap and shift-forward suggestion; null/omitted when the time exists.'}, 'status': {'type': 'string', 'description': 'unique, ambiguous (two valid instants) or nonexistent (inside a clock-forward gap).'}, 'time_zone': {'type': 'string', 'description': 'Zone identifier supplied by the caller.'}, 'candidates': {'type': 'array', 'description': 'Every valid instant with UTC time, local time, offset and abbreviation, ordered earliest first.'}, 'source_url': {'type': 'string', 'description': 'Version-specific official IANA release URL.'}, 'tzdb_version': {'type': 'string', 'description': 'Pinned IANA release used for every offset and transition.'}, 'coverage_note': {'type': 'string', 'description': 'Coverage and rule-change limitations for this fixed version.'}, 'source_sha256': {'type': 'string', 'description': 'SHA-256 of the downloaded official IANA tzdata release artifact.'}, 'local_datetime': {'type': 'string', 'description': 'Normalized input wall-clock time.'}, 'candidate_count': {'type': 'integer', 'description': 'Number of valid UTC instants for the wall-clock input.'}, 'dataset_version': {'type': 'string', 'description': 'Immutable Calcgrid evidence-package version.'}, 'next_transition': {'type': 'object', 'description': 'Next offset change in this zone.'}, 'resolved_zone_id': {'type': 'string', 'description': 'Zone record used by the pinned data build.'}, 'related_transition': {'type': 'object', 'description': 'Transition whose overlap or gap contains the input, when applicable.'}, 'previous_transition': {'type': 'object', 'description': 'Previous offset change in this zone.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
run_calculator
Run a calculator
Use this when the user needs one of Calcgrid's 737 deterministic calculators and no dedicated typed tool covers it. Call it immediately after search_calculators once calculator_id and input_hints are known; do not stop at search or schema discovery. Do not use it for trivial arithmetic, live rates or unrelated tasks. Returns typed values with units, formula, sources, freshness and timestamp; validation errors identify the field and a repair hint.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['calculator_id', 'inputs'], 'properties': {'inputs': {'type': 'object', 'examples': [{'years': 12, 'principal': 15000, 'annual_rate_percent': 4.8}], 'description': 'Parameter names and values from search_calculators input_hints or get_calculator_schema. Use numbers as numbers, ISO dates as YYYY-MM-DD and lists as arrays.', 'additionalProperties': True}, 'calculator_id': {'type': 'string', 'examples': ['compound-interest'], 'description': "Exact calculator_id from search_calculators; for example 'compound-interest'."}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'additionalProperties': True}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
search_calculators
Search calculators
Use this when a user needs a deterministic calculation but none of the dedicated tools clearly matches and the calculator_id is unknown. Search 737 calculators from the complete task in English or Chinese, then call run_calculator with the top matching calculator_id and returned input_hints. Do not use this for trivial arithmetic, live data, writing tasks, or when a dedicated typed tool already matches. This tool only discovers; it does not calculate.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['query'], 'properties': {'limit': {'type': 'integer', 'default': 10, 'maximum': 50, 'minimum': 1}, 'query': {'type': 'string', 'examples': ['compound interest on 15000 at 4.8% monthly for 12 years'], 'description': "The complete user task, including known values and units; for example 'compound interest on 15000 at 4.8% monthly for 12 years'."}, 'category': {'enum': ['finance', 'health', 'fitness', 'math', 'geometry', 'statistics', 'conversion', 'physics', 'chemistry', 'everyday', 'food', 'construction', 'business', 'time', 'medical', 'engineering', 'weather', 'investing', 'developer', 'energy', 'photography', 'science', 'gaming', 'lunar', 'yijing'], 'type': 'string', 'description': 'Optional category id to restrict results.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object'}, 'request': {'type': 'object'}, 'success': {'type': 'boolean', 'const': True}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}}, 'description': 'Read-only catalogue or schema result used to select a calculation tool.'}
solve_ohms_law
Ohm's Law Calculator
Use this when you know two of voltage, current and resistance in a DC or purely resistive circuit and need the third and the power. 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 load is reactive (inductors or capacitors require impedance, not resistance), you want energy cost over time (use electric-power), or you need the equivalent resistance of several resistors (use resistors-series-parallel). What it computes: Solves Ohm's law V = I·R for whichever of voltage, current or resistance is omitted and reports the electrical power dissipated (P = V·I). Inputs: voltage_v (number, V, optional); current_a (number, A, optional); resistance_ohm (number, Ω, optional). Valid input combinations: Provide exactly two of voltage_v, current_a and resistance_ohm; the omitted quantity is calculated. Example: {"voltage_v":12,"resistance_ohm":220}. Complete JSON argument examples: {"voltage_v":12,"resistance_ohm":220} | {"current_a":2,"resistance_ohm":50} Outputs: solved_for, voltage_v [V], current_a [A], current_ma [mA], resistance_ohm [Ω], power_w [W]. Formula: V = I × R; I = V / R; R = V / I; P = V × I = I² × R = V² / R Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/ohms-law with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/physics/ohms-law.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'oneOf': [{'required': ['voltage_v', 'current_a']}, {'required': ['voltage_v', 'resistance_ohm']}, {'required': ['current_a', 'resistance_ohm']}], 'examples': [{'voltage_v': 12, 'resistance_ohm': 220}, {'current_a': 2, 'resistance_ohm': 50}], 'properties': {'current_a': {'type': 'number', 'x-unit': 'A', 'minimum': 0, 'description': 'Current through the component in amperes (1 mA = 0.001 A). Omit to solve for it. Unit: A.'}, 'voltage_v': {'type': 'number', 'x-unit': 'V', 'minimum': 0, 'examples': [12], 'description': 'Potential difference across the component in volts. Omit to solve for it. Unit: V.'}, 'resistance_ohm': {'type': 'number', 'x-unit': 'Ω', 'examples': [220], 'description': 'Resistance in ohms (1 kΩ = 1000 Ω). Omit to solve for it. Unit: Ω.', 'exclusiveMinimum': 0}}, 'description': 'Provide exactly two of voltage_v, current_a and resistance_ohm; the omitted quantity is calculated. Example: {"voltage_v":12,"resistance_ohm":220}.', 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'power_w': {'type': 'number', 'x-unit': 'W', 'description': 'Power dissipated P = V × I. Unit: W.'}, 'current_a': {'type': 'number', 'x-unit': 'A', 'description': 'I = V / R. Unit: A.'}, 'voltage_v': {'type': 'number', 'x-unit': 'V', 'description': 'V = I × R. Unit: V.'}, 'current_ma': {'type': 'number', 'x-unit': 'mA', 'description': 'Current in milliamperes. Unit: mA.'}, 'solved_for': {'type': 'string', 'description': 'Which quantity was computed: voltage_v, current_a or resistance_ohm.'}, 'resistance_ohm': {'type': 'number', 'x-unit': 'Ω', 'description': 'R = V / I. Unit: Ω.'}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
solve_quadratic_equation
Quadratic Equation Solver
Use this when you need the solutions of a second-degree polynomial equation, or the vertex and discriminant of a parabola y = ax² + bx + c. 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 coefficient a is 0 (the equation is linear: x = −c / b), or you need roots of x^n = c for other powers (use nth-root). What it computes: Solves ax² + bx + c = 0 with the quadratic formula, reporting the discriminant, both roots (real, or complex conjugates written as strings), the vertex of the parabola and the sum and product of the roots. Inputs: a (number); b (number); c (number). Complete JSON argument examples: {"a":1,"b":-5,"c":6} | {"a":1,"b":2,"c":5} Outputs: discriminant, nature, root1, root2, roots, vertex_x, vertex_y, sum_of_roots, product_of_roots. Formula: Δ = b² − 4ac; x = (−b ± √Δ) / (2a); for Δ < 0: x = −b/(2a) ± i·√(−Δ)/(2|a|); vertex = (−b/(2a), c − b²/(4a)) Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/quadratic-equation with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/math/quadratic-equation.md
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'examples': [{'a': 1, 'b': -5, 'c': 6}, {'a': 1, 'b': 2, 'c': 5}], 'required': ['a', 'b', 'c'], 'properties': {'a': {'type': 'number', 'examples': [1], 'description': 'Coefficient of x². Must not be 0.'}, 'b': {'type': 'number', 'examples': [-5], 'description': 'Coefficient of x.'}, 'c': {'type': 'number', 'examples': [6], 'description': 'Constant term.'}}, 'additionalProperties': False}
Ausgabeschema
{'type': 'object', 'required': ['success', 'service_version', 'request', 'result', 'timestamp'], 'properties': {'links': {'type': 'object'}, 'result': {'type': 'object', 'required': ['entity_type', 'calculator_id', 'status', 'values', 'formula', 'summary'], 'properties': {'units': {'type': 'object', 'additionalProperties': {'type': 'string'}}, 'status': {'type': 'string', 'const': 'completed'}, 'values': {'type': 'object', 'properties': {'root1': {'type': 'number', 'description': '(−b + √Δ) / (2a). Only when the roots are real.'}, 'root2': {'type': 'number', 'description': '(−b − √Δ) / (2a). Only when the roots are real.'}, 'roots': {'type': 'string', 'description': "Both roots as text; complex roots are written like '-1+2i, -1-2i'."}, 'nature': {'type': 'string', 'description': 'Plain-language classification of the roots from the sign of the discriminant.'}, 'vertex_x': {'type': 'number', 'description': "x-coordinate of the parabola's vertex, −b / (2a) (also the axis of symmetry)."}, 'vertex_y': {'type': 'number', 'description': 'y-coordinate of the vertex, c − b² / (4a) (the minimum for a > 0, maximum for a < 0).'}, 'discriminant': {'type': 'number', 'description': 'Δ = b² − 4ac; positive → two real roots, zero → one repeated root, negative → complex roots.'}, 'sum_of_roots': {'type': 'number', 'description': "−b / a (Vieta's formula)."}, 'product_of_roots': {'type': 'number', 'description': "c / a (Vieta's formula)."}}}, 'formula': {'type': 'string'}, 'summary': {'type': 'string'}, 'entity_type': {'type': 'string', 'const': 'calculation'}, 'calculator_id': {'type': 'string'}, 'calculator_name': {'type': 'string'}}}, 'request': {'type': 'object', 'properties': {'tool': {'type': 'string'}, 'inputs': {'type': 'object'}, 'calculator_id': {'type': 'string'}}}, 'sources': {'type': 'array', 'items': {'type': 'object'}}, 'success': {'type': 'boolean', 'const': True}, 'version': {'type': 'string'}, 'freshness': {'type': 'object'}, 'timestamp': {'type': 'string', 'format': 'date-time'}, 'next_actions': {'type': 'array', 'items': {'type': 'object'}}, 'service_version': {'type': 'string', 'description': 'Deployed Calcgrid implementation version used for the result.'}}, 'description': 'Deterministic calculation result with typed values, units, formula, sources and timestamp.'}
Hinzugefügt
count_ro_working_days
30. September 2026 02:40
Hinzugefügt
add_ro_working_days
30. September 2026 02:40
Hinzugefügt
check_ro_working_day
30. September 2026 02:40
Hinzugefügt
count_bg_working_days
30. September 2026 02:40
Hinzugefügt
add_bg_working_days
30. September 2026 02:40
Hinzugefügt
check_bg_working_day
30. September 2026 02:40
Hinzugefügt
count_lv_working_days
30. September 2026 02:40
Hinzugefügt
add_lv_working_days
30. September 2026 02:40
Hinzugefügt
check_lv_working_day
30. September 2026 02:40
Hinzugefügt
count_lt_working_days
30. September 2026 02:40
Hinzugefügt
add_lt_working_days
30. September 2026 02:40
Hinzugefügt
check_lt_working_day
30. September 2026 02:40
Hinzugefügt
count_mt_working_days
30. September 2026 02:40
Hinzugefügt
add_mt_working_days
30. September 2026 02:40
Hinzugefügt
check_mt_working_day
30. September 2026 02:40
Hinzugefügt
count_lu_working_days
30. September 2026 02:40
Hinzugefügt
add_lu_working_days
30. September 2026 02:40
Hinzugefügt
check_lu_working_day
30. September 2026 02:40
Hinzugefügt
count_ee_working_days
30. September 2026 02:40
Hinzugefügt
add_ee_working_days
30. September 2026 02:40
Hinzugefügt
check_ee_working_day
30. September 2026 02:40
Hinzugefügt
count_si_working_days
30. September 2026 02:40
Hinzugefügt
add_si_working_days
30. September 2026 02:40
Hinzugefügt
check_si_working_day
30. September 2026 02:40
Hinzugefügt
count_hr_working_days
30. September 2026 02:40
Hinzugefügt
add_hr_working_days
30. September 2026 02:40
Hinzugefügt
check_hr_working_day
30. September 2026 02:40
Hinzugefügt
count_cz_working_days
30. September 2026 02:40
Hinzugefügt
add_cz_working_days
30. September 2026 02:40
Hinzugefügt
check_cz_working_day
30. September 2026 02:40