calculate_date
Add or subtract days, weeks, months, or years, compute date differences, find weekdays, or count business days with ISO calendar math in UTC.
Instructions
Deterministic ISO calendar math in UTC: add days/weeks/months/years, date difference, weekday, or weekday-only business-day count.
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": {
"operation": "<operation>",
"date": "<date>"
},
"name": "calculate_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| unit | No | days | |
| amount | No | ||
| operation | Yes | ||
| otherDate | No |