Time until a usage limit resets
time_until_resetCalculates how long until a provider's usage window resets, returning seconds and readable time so agents can warn before long tasks.
Instructions
Seconds (and human text) until a provider's usage window resets. Default window: the first (5h).
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": {
"provider": "<provider>"
},
"name": "time_until_reset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | Limit window: "5h" (short window, the first) or "7d" (long window, the second). Labels like "1d" or "30d" also work. | |
| provider | Yes | Provider id, e.g. "claude" or "codex". |