Date Calculator
DateCalculatorDate Calculator: Date Calculator computes the difference between two calendar dates in minutes, hours, days, weeks, months, and years. Supply start and end dates in YYYY-MM-DD format to receive exact interval breakdowns. (Cost: 1 credit)
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": "<start>",
"end": "<end>"
},
"name": "DateCalculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | The end date for calculating the difference (format: YYYY-MM-DD) | |
| start | Yes | The start date for calculating the difference (format: YYYY-MM-DD) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |