calculate_date
Calculate the difference between two dates, or add/subtract days from a date.
Operations:
"difference": days between start_date and end_date (end_date required).
"add": the date
daysdays after start_date."subtract": the date
daysdays before start_date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to add or subtract (only for "add"/"subtract"). | |
| end_date | No | Second date in ISO format (only for "difference"). | |
| operation | Yes | One of "difference", "add", "subtract". | |
| start_date | Yes | Base date in ISO format, e.g. "2026-07-13". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||