Count or add business days (with public holidays)
business_daysCount business days between two dates, or add/subtract N business days from a date, skipping weekends and (optionally) the country's official public holidays. Returns the holidays skipped. Exact; do not do this in your head.
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>"
},
"name": "business_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End date YYYY-MM-DD (to count business days between) | |
| start | Yes | Start date YYYY-MM-DD | |
| country | No | ISO country code for holidays, e.g. US, GB, DE (optional) | |
| add_days | No | Or: number of business days to add (negative to subtract) |