Date & Time
Expande recorrencias VEVENT com RRULE em ocorrencias concretas e exporta como JSON ou ICS
Chame esta ferramenta a partir do seu código em três idiomas.
# 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/pt/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'Envie uma requisição POST com suas entradas em JSON. Parâmetros do tipo arquivo exigem upload prévio.
POST https://api.elysiatools.com/pt/api/tools/ics-calendar-recurrence-rule-expander| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| icsInput | textarea | Não | — |
| icsFile | fileupload necessário | Não | — |
| timezoneOverride | text | Não | — |
| holidayDates | textarea | Não | — |
| maxOccurrences | number | Não | — |
| outputFormat | select | Não | — |
Resultado JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Adicione esta ferramenta ao seu servidor Model Context Protocol para que agentes de IA possam listá-la e chamá-la.
Adicione este bloco à configuração do seu cliente MCP:
{
"mcpServers": {
"elysiatools-ics-calendar-recurrence-rule-expander": {
"name": "ics-calendar-recurrence-rule-expander",
"description": "Expande recorrencias VEVENT com RRULE em ocorrencias concretas e exporta como JSON ou ICS",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=ics-calendar-recurrence-rule-expander",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Após conectar ao endpoint SSE, liste as ferramentas expostas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoque a ferramenta pelo seu id; os argumentos são construídos a partir de seus parâmetros:
{
"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"
}
}
}Dúvidas ou problemas? Contate [email protected]