time_add
Add or subtract days, hours, minutes, or seconds from a date/time, with optional timezone and format, to calculate adjusted timestamps.
Instructions
Add (or subtract with negatives) a duration to a date/time.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "time_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| hours | No | ||
| weeks | No | ||
| format | No | ||
| minutes | No | ||
| seconds | No | ||
| datetime | No | now | |
| timezone | No | UTC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||