Date & Time
Expand RRULE-based VEVENT recurrence into concrete occurrences and export them as JSON or a flattened ICS calendar
Call this tool from your code in three languages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/ics-calendar-recurrence-rule-expander' \
-F 'file=@/path/to/icsFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/ics-calendar-recurrence-rule-expander' \
-F 'icsInput=BEGIN:VEVENT
DTSTART:20260401T090000Z
DTEND:20260401T100000Z
RRULE:FREQ=WEEKLY;BYDAY=MO,WE;COUNT=6
SUMMARY:Team sync
UID:team-sync-1
END:VEVENT' \
-F 'icsFile=/path/to/file.ext' \
-F 'timezoneOverride=Asia/Shanghai' \
-F 'holidayDates=2026-04-08' \
-F 'maxOccurrences=20' \
-F 'outputFormat=both'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/ics-calendar-recurrence-rule-expander| Name | Type | Required | Description |
|---|---|---|---|
| icsInput | textarea | No | — |
| icsFile | fileupload required | No | — |
| timezoneOverride | text | No | — |
| holidayDates | textarea | No | — |
| maxOccurrences | number | No | — |
| outputFormat | select | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-ics-calendar-recurrence-rule-expander": {
"name": "ics-calendar-recurrence-rule-expander",
"description": "Expand RRULE-based VEVENT recurrence into concrete occurrences and export them as JSON or a flattened ICS calendar",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=ics-calendar-recurrence-rule-expander",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "ics-calendar-recurrence-rule-expander",
"arguments": {
"icsInput": "BEGIN:VEVENT\nDTSTART:20260401T090000Z\nDTEND:20260401T100000Z\nRRULE:FREQ=WEEKLY;BYDAY=MO,WE;COUNT=6\nSUMMARY:Team sync\nUID:team-sync-1\nEND:VEVENT",
"icsFile": "https://example.com/file.ext",
"timezoneOverride": "Asia/Shanghai",
"holidayDates": "2026-04-08",
"maxOccurrences": 20,
"outputFormat": "both"
}
}
}Questions or issues? Contact [email protected]