date_recurrence
Expand an RFC 5545 RRULE into dated occurrences — the closed subset, with every trap declared IN the answer. Models silently fail here: biweekly rules land every week (INTERVAL ignored: 4 of 8 dates wrong on the published demo), MONTHLY from the 31st is dropped in short months (the RFC: invalid dates MUST be ignored, never moved), mixed BYDAY like MO,2TU reads as NO dates in python-dateutil 4.0.0. Supported: FREQ DAILY/WEEKLY/MONTHLY/YEARLY, INTERVAL, COUNT xor UNTIL (both = refused by name), BYDAY with ordinals only for MONTHLY/YEARLY, BYMONTH, BYMONTHDAY signed, WKST. BYSETPOS, BYWEEKNO, BYYEARDAY, BYHOUR, BYMINUTE, BYSECOND and sub-daily FREQs are refused by name, never softly ignored. DTSTART anchors the grid and sync status is reported — rrule.js force-includes it (off-by-one), dateutil drops it silently; the RFC calls that zone UNDEFINED and we declare it. Wall-clock expansion per the RFC: DST moves the UTC instant, not the local time (per-day instants: date/tz). Cap 500 occurrences, truncation and skipped dates listed. Free, no payment.
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": {
"dtstart": "<dtstart>",
"rrule": "<rrule>"
},
"name": "date_recurrence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rrule | Yes | RFC 5545 RRULE value; a leading 'RRULE:' is accepted and stripped | |
| dtstart | Yes | YYYY-MM-DD, YYYY-MM-DDTHH:MM[:SS], ...Z, or the RFC compact 19970902T090000Z | |
| max_count | No | default and hard cap 500 |