add_duration
Add a duration to an instant and get the result, in UTC and in Tehran local time. Use it for a TTL, a lock expiry, or a token lifetime. ($0.003 per call)
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": {
"at": "<at>",
"amount": "<amount>"
},
"name": "add_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | the start instant, ISO-8601 | |
| unit | No | the unit of amount | seconds |
| amount | Yes | how many units, may be negative |