cron-expression-generator
Parse a 5-field cron expression, describe it in plain English, and compute the next N fire times. Input the standard 'minute hour day-of-month month day-of-week' form (e.g. '0 9 * * 1-5' for weekdays at 9am).
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-expression-generator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fromIso | No | Reference time in ISO 8601 (e.g. '2026-05-14T10:00:00Z'). Defaults to current time. Used for deterministic 'next run' computation. | |
| nextCount | No | How many upcoming fire times to compute. Default 5. Use 0 to skip. | |
| expression | Yes | A 5-field cron expression — minute hour day-of-month month day-of-week. Examples: '0 9 * * 1-5' for weekdays at 9am, '*/15 * * * *' every 15 minutes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | True when the expression parsed cleanly. | |
| nextRuns | Yes | ISO 8601 timestamps (UTC) of the next N fire times. | |
| expression | Yes | The normalized cron expression, echoed back. | |
| description | Yes | Plain-English description of when the expression fires. |