Read a cron expression and list its next runs
cronExplains a cron expression in plain English and lists its next runs in UTC and in a time zone. Five fields (minute hour day month weekday), or six with seconds first. Names (MON, JAN) and steps are supported. Computed in the Worker; no network call. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA time zone for the local times, e.g. Europe/Berlin (default UTC) | |
| count | No | Next runs, 1 to 20 (default 5) | |
| expression | Yes | Cron expression, 5 or 6 fields |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | ||
| nextRuns | No | ||
| timezone | No | ||
| checkedAt | No | ||
| expression | No | ||
| explanation | No | ||
| nextRunsUtc | No |