is_business_day
Check whether a given date is a business or trading day for a selected calendar, returning holiday closures and early-close times for NYSE and exchange calendars.
Instructions
Is date (YYYY-MM-DD) a business/trading day on calendar? Returns the holiday name if closed and the early-close time (HH:MM) for NYSE and exchanges.
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": {
"calendar": "<calendar>",
"date": "<date>"
},
"name": "is_business_day"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| calendar | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||