📅ICS Calendar Generator
Generate a valid RFC 5545 iCalendar file from JSON events: proper CRLF line endings, text escaping, line folding at 75 octets and a required DTSTAMP. The output imports cleanly into Google Calendar, Outlook and Apple Calendar.
Worked examples
Single meeting
GET /api/v1/dev/ics-generate?events=%5B%7B%22title%22%3A%22Quarterly%20Review%22%2C%22start%22%3A%222026-11-03T14%3A00%3A00Z%22%2C%22end%22%3A%222026-11-03T15%3A00%3A00Z%22%2C%22location%22%3A%22Zoom%22%7D%5D&calendarName=Work
Result: BEGIN:VCALENDAR VERSION:2.0 PRODID:-//AgentTools//ICS Generator//EN CALSCALE:GREGORIAN X-WR-CALNAME:Work BEGIN:VEVENT UID:20261103T140000Z-buktf2jj@agenttools DTSTAMP:20261015T225841Z DTSTART:20261103T140000Z DTEND:20261103T150000Z SUMMARY:Quarterly Review LOCATION:Zoom END:VEVENT END:VCALENDAR
Two events
GET /api/v1/dev/ics-generate?events=%5B%7B%22title%22%3A%22Standup%22%2C%22start%22%3A%222026-11-04T09%3A00%3A00Z%22%7D%2C%7B%22title%22%3A%22Demo%22%2C%22start%22%3A%222026-11-05T16%3A00%3A00Z%22%2C%22location%22%3A%22Main%20stage%22%7D%5D&calendarName=Team
Result: BEGIN:VCALENDAR VERSION:2.0 PRODID:-//AgentTools//ICS Generator//EN CALSCALE:GREGORIAN X-WR-CALNAME:Team BEGIN:VEVENT UID:20261104T090000Z-uzieod79@agenttools DTSTAMP:20261015T225841Z DTSTART:20261104T090000Z DTEND:20261104T100000Z SUMMARY:Standup END:VEVENT BEGIN:VEVENT UID:20261105T160000Z-e89mkx4x@agenttools DTSTAMP:20261015T225841Z DTSTART:20261105T160000Z DTEND:20261105T170000Z SUMMARY:Demo LOCATION:Main stage END:VEVENT END:VCALENDAR
Machine API (x402)
$0.003 / callThis tool is also a JSON API for AI agents. Requests without payment receive 402 Payment Required plus instructions; agents pay USDC on Base via the x402 protocol — no accounts, no API keys.
GET /api/v1/dev/ics-generate?events=%5B%7B%22title%22%3A%22Quarterly%20Review%22%2C%22start%22%3A%222026-11-03T14%3A00%3A00Z%22%2C%22end%22%3A%222026-11-03T15%3A00%3A00Z%22%2C%22location%22%3A%22Zoom%22%7D%5D&calendarName=Work HTTP/1.1
Host: localhost:3000
→ 402 (payment required, instructions in headers)
→ 200 (after X-PAYMENT header; JSON body below)
{
"tool": "dev/ics-generate",
"input": {"events":"[{\"title\":\"Quarterly Review\",\"start\":\"2026-11-03T14:00:00Z\",\"end\":\"2026-11-03T15:00:00Z\",\"location\":\"Zoom\"}]","calendarName":"Work"},
"result": { "value": 1, "answer": "BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//AgentTools//ICS Generator//EN
CALSCALE:GREGORIAN
X-WR-CALNAME:Work
BEGIN:VEVENT
UID:20261103T140000Z-oq50xm5a@agenttools
DTSTAMP:20261015T225841Z
DTSTART:20261103T140000Z
DTEND:20261103T150000Z
SUMMARY:Quarterly Review
LOCATION:Zoom
END:VEVENT
END:VCALENDAR
" }
}Agent docs: /llms.txt · OpenAPI spec · integration guide
About this tool
Generate a valid RFC 5545 iCalendar file from JSON events — correct CRLF endings, line folding at 75 octets, text escaping and UTC timestamps. The output imports into Google Calendar, Outlook and Apple Calendar without warnings.
Frequently asked questions
How do I add the file to a calendar app?
Save result.artifacts.ics as a .ics file and open it, or serve it with Content-Type text/calendar for subscription-style imports.