Working Days
WorkingDaysWorking Days: Working Days is a working days and business days API that counts the working days and non-working days for any country and month. Pass a two-letter country code and month number to get total counts, working date lists, and non-working days marked with holiday names. On paid plans, add a state or region for regional holidays, set a custom weekend, count between any two dates, or add business days to a date. (Cost: 2 credits)
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>"
},
"name": "WorkingDays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End date (YYYY-MM-DD), inclusive. Used with start | |
| year | No | The year you want to get the number of working days for | |
| month | No | The month you want to get the number of working days for | |
| start | No | Start date (YYYY-MM-DD). With end, counts working days across that range (up to 366 days, inclusive) instead of a month. With addDays, the date to count from (defaults to today) | |
| region | No | Optional state or region code within the country for regional public holidays (e.g. CA for California, BY for Bavaria) | |
| addDays | No | Number of working days to add to start (negative to subtract). The start date itself is not counted. Returns resultDate plus the days it stepped over | |
| country | Yes | The 2-letter country code you want to get the number of working days for | |
| weekend | No | Comma-separated weekend days as names or numbers 0-6 (Sunday=0), or none. Defaults to sat,sun |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |