Days Calculator
calculator_daysAdd or subtract a number of days from a starting date (handles leap years).
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>",
"days": "<days>",
"operation": "<operation>"
},
"name": "calculator_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Number of days to add or subtract. | |
| operation | Yes | add or subtract. | |
| start_date | Yes | Starting date. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weekday | No | ||
| expression | Yes | ||
| result_date | Yes |