Add or subtract UAE working days
add_working_daysCompute the date N working days after (or before, if N is negative) a start date for a UAE emirate/sector, skipping weekends and public holidays, and list every skipped day with its reason. Use for SLAs, delivery promises, HR processing times and 'within X business days' wording. Example: {start_date:'2026-05-21', days:3, emirate:'federal', sector:'public'} → end_date 2026-06-02 (Eid Al Adha week skipped). Response always includes data_confidence ('high' = all dates officially announced/confirmed, 'medium' = something is estimated), estimated_items[], sources[] (official URLs) and data_version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Working days to add. Negative counts backwards. | |
| sector | No | Sector: public (government) | private. Government employees, courts and ministries → 'public'. Companies → 'private' (weekend is employer-set; the common Sat–Sun default is used and flagged). | public |
| emirate | No | Calendar profile emirate: federal | abu_dhabi | dubai | sharjah | ajman | umm_al_quwain | ras_al_khaimah | fujairah. Use 'federal' unless the user named an emirate's government. Emirates other than Sharjah currently follow the federal weekend. | federal |
| start_date | Yes | ISO date to count from. | |
| count_start_day | No | If true and start_date is a working day, it counts as day 1. Default false (start the day after). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||