date_diff
Calculate the exact difference between two ISO 8601 dates in days, business days, and hours. Provide two dates to get precise date intervals for planning and analysis.
Instructions
Compute the exact difference between two dates in days, business days, and hours
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": {
"a": "<a>",
"b": "<b>"
},
"name": "date_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First ISO 8601 date/datetime | |
| b | Yes | Second ISO 8601 date/datetime |