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) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/ics-calendar-recurrence-rule-expander' \
-H 'Content-Type: application/json' \
-d '{"filename":"icsFile.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
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=uploads/2026/01/01/your-tool-1700000000000-abc123.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]