date_calc
Date arithmetic: add (calendar-aware duration like "1y2m3dT4h", month-end clamped), business_days (n, holidays, weekend), diff (days|business_days|human|calendar; business_days counts base-exclusive by default, include_base=true counts BOTH endpoints, backward windows with include_base are refused, not mirrored), boundary (day|week|month|quarter|year, start|end), age. Free.
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": {
"base": "<base>",
"op": "<op>"
},
"name": "date_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| tz | No | ||
| base | Yes | ||
| params | No |