time_until
How much time is between two instants: the direction, the total in every unit, and a day/hour/minute/second breakdown. Use it to compute a retry delay, a rate-limit reset, or whether a deadline has passed. ($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": {
"from": "<from>",
"to": "<to>"
},
"name": "time_until"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | end instant, ISO-8601 | |
| from | Yes | start instant, ISO-8601, e.g. 2026-01-01T00:00:00Z |