Count days between two dates
days_betweenCalculate the number of calendar days between two ISO dates; returns a negative value if the end date is earlier than the start date.
Instructions
Number of calendar days from start_date to end_date (negative if end_date is earlier).
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "days_between"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | ISO date, e.g. "2027-03-31" | |
| start_date | Yes | ISO date, e.g. "2027-03-31" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes |