businessdays
Business-day date math. Three modes inferred from params: add (start+days -> the date N business days away, negative days = before), diff (start+end -> count of business days between, inclusive of both endpoints), is (date -> is it a business day). Optional weekend (default sat,sun) and holidays (comma list of YYYY-MM-DD you supply). No signup, no API key. Pure UTC date-only math; no time-of-day/DST/timezone.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "businessdays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End date YYYY-MM-DD (diff mode) | |
| date | No | Date YYYY-MM-DD to test (is mode) | |
| days | No | Business days to add (add mode); negative subtracts | |
| start | No | Start date YYYY-MM-DD (add & diff modes) | |
| weekend | No | Comma list of weekend days, e.g. "sat,sun" (default sat,sun) | |
| holidays | No | Comma list of YYYY-MM-DD dates treated as non-working |