Working days calculator
hopi_working_days_calculatorCount the working days (Monday to Friday) between two dates, inclusive of both ends, optionally excluding 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 excluded. Source: https://hopi.co.uk/working-days-calculator/
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": {
"from": "<from>",
"to": "<to>"
},
"name": "hopi_working_days_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End date in YYYY-MM-DD format | |
| from | Yes | Start date in YYYY-MM-DD format | |
| bankHolidays | No | Exclude England and Wales bank holidays as well as weekends (default true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| summary | Yes | ||
| swapped | No | ||
| complete | No | ||
| warnings | No | ||
| totalDays | No | ||
| source_url | Yes | The tool's page on hopi.co.uk (cite or open to check the figure) | |
| weekendDays | No | ||
| workingDays | No | ||
| bankHolidays | No | ||
| holidayCoverage | No | ||
| bankHolidaysExcluded | No |