Count business days
calculate_business_daysBusiness days between two dates (both inclusive) in a country, excluding its weekend days and nationwide public holidays. Lists the holidays that were excluded. Holiday data covers 2025–2028.
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": {
"country": "<country>",
"start": "<start>",
"end": "<end>"
},
"name": "calculate_business_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Last day (inclusive), YYYY-MM-DD; at most 1500 days after start | |
| start | Yes | First day, YYYY-MM-DD | |
| country | Yes | ISO 3166-1 alpha-2 country code, e.g. FR |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Calendar date, YYYY-MM-DD | |
| rules | Yes | ||
| start | Yes | Calendar date, YYYY-MM-DD | |
| source | Yes | Where the data or the algorithm comes from. | |
| country | Yes | ISO 3166-1 alpha-2 country code | |
| weekend | Yes | ||
| dataYears | Yes | Years the holiday data covers for this country. | |
| sourceUrl | Yes | ||
| countryName | Yes | ||
| lastUpdated | Yes | Date the underlying data set was last generated or checked. | |
| businessDays | Yes | ||
| calendarDays | Yes | ||
| endInclusive | Yes | ||
| holidaysExcluded | Yes | Nationwide holidays that removed a working day | |
| holidaysOnWeekend | Yes | Nationwide holidays that fall on a weekend day anyway |