Date & Time
Developpe les recurrences VEVENT basees sur RRULE en occurrences concretes et les exporte en JSON ou ICS
Appelez cet outil depuis votre code en trois langages.
# 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/fr/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'Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
POST https://api.elysiatools.com/fr/api/tools/ics-calendar-recurrence-rule-expander| Nom | Type | Requis | Description |
|---|---|---|---|
| icsInput | textarea | Non | — |
| icsFile | fileupload requis | Non | — |
| timezoneOverride | text | Non | — |
| holidayDates | textarea | Non | — |
| maxOccurrences | number | Non | — |
| outputFormat | select | Non | — |
Résultat JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Ajoutez ce bloc à la configuration de votre client MCP :
{
"mcpServers": {
"elysiatools-ics-calendar-recurrence-rule-expander": {
"name": "ics-calendar-recurrence-rule-expander",
"description": "Developpe les recurrences VEVENT basees sur RRULE en occurrences concretes et les exporte en JSON ou ICS",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=ics-calendar-recurrence-rule-expander",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"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"
}
}
}Des questions ou un problème ? Contactez [email protected]