Add working days
hopi_add_working_daysAdd or subtract a number of working days (Monday to Friday) from a start date, optionally skipping England and Wales bank holidays. Dates use the YYYY-MM-DD format. Bank holiday data covers 2026 to 2028 only, so outside those years just weekends are skipped. Source: https://hopi.co.uk/add-working-days/
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start": "<start>",
"days": "<days>"
},
"name": "hopi_add_working_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Number of working days to move (0 to 100000) | |
| start | Yes | Start date in YYYY-MM-DD format | |
| direction | No | 'add' to count forwards, 'sub' to count backwards (default 'add') | add |
| bankHolidays | No | Also skip England and Wales bank holidays, not just weekends (default true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| start | No | ||
| result | No | ||
| summary | Yes | ||
| weekday | No | ||
| complete | No | ||
| warnings | No | ||
| direction | No | ||
| resultLong | No | ||
| source_url | Yes | The tool's page on hopi.co.uk (cite or open to check the figure) | |
| daysSpanned | No | ||
| bankHolidays | No | ||
| holidayCoverage | No | ||
| holidaysSkipped | No |