calculate_business_days
Calculate business days between two dates, excluding weekends and optionally US holidays. Specify timezone for precise results.
Instructions
Calculate business days between two dates (excluding weekends)
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": {
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "calculate_business_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | End date (ISO string or natural language) | |
| timezone | No | IANA timezone name (e.g., 'America/New_York'). Defaults to system timezone. | |
| startDate | Yes | Start date (ISO string or natural language) | |
| excludeHolidays | No | Whether to exclude common holidays (US holidays only). Defaults to false. |