count_business_days
Counts business days between two dates, excluding weekends and country-specific public holidays, to measure working-time spans accurately.
Instructions
Counts the number of business (working) days between two dates, excluding weekends and country-specific public holidays. The count is exclusive of the start date and inclusive of the end date. Returns the integer day count. Use when measuring working-time span between two dates.
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_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "count_business_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | ISO-3166-1-alpha-2 country code for holiday calendar. Supported holiday sets: US, UK, FR, DE, JP; other valid 2-letter codes fall back to weekend-only counting and say so in holidaySupport. | US |
| end_date | Yes | ISO date string for the end date. | |
| start_date | Yes | ISO date string for the start date. |