calendar
Date arithmetic against a real calendar. ops: add_business_days, diff, tz_convert, is_us_federal_holiday. Holiday data is United States federal only and every response says so.
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": {
"op": "<op>"
},
"name": "calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| to | No | ISO date or timestamp. For diff. | |
| date | No | ISO date. For is_us_federal_holiday. | |
| days | No | For add_business_days. May be negative. | |
| from | No | ISO date or timestamp. For add_business_days and diff. | |
| instant | No | ISO timestamp. For tz_convert. | |
| time_zone | No | IANA zone, e.g. "America/New_York". For tz_convert. |