datetime_add_duration
Add or subtract days, hours, minutes, or seconds to/from a datetime string. This tool computes a new datetime based on a given datetime and a duration, enabling date and time arithmetic for AI workflows.
Instructions
[datetime] Add (or subtract) a duration to a datetime.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dt_str | Yes | ||
| days | No | ||
| hours | No | ||
| minutes | No | ||
| seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |