Add Portugal Working Days
add_pt_working_daysUse 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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | Gregorian start date in 2026-2027. | |
| working_days | Yes | Signed offset; start date excluded for non-zero offsets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | No | ||
| result | Yes | ||
| request | Yes | ||
| sources | No | ||
| success | Yes | ||
| version | No | ||
| freshness | No | ||
| timestamp | Yes | ||
| next_actions | No | ||
| service_version | Yes | Deployed Calcgrid implementation version used for the result. |