Compute Cron Fire Times
cron_nextDeterministic cron expression validator and scheduler: parses a cron expression (5 or 6 field, seconds optional) and computes the next N actual fire times, timezone-aware. Use this instead of guessing - cron semantics (DOM/DOW OR-logic, DST transitions) are routinely miscalculated.
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": {
"expression": "<expression>"
},
"name": "cron_next"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Compute fire times after this ISO 8601 instant. Default now. | |
| count | No | How many fire times. Default 5. | |
| timezone | No | IANA timezone, e.g. "America/Chicago". Default UTC. | |
| expression | Yes | Cron expression, e.g. "0 9 * * MON-FRI". |