build_ics_event
Convert JSON event data into an RFC 5545 iCalendar (.ics) file, returning the .ics, base64, data URI, and generated UIDs for calendar import or scheduling workflows.
Instructions
utilpeek: Build an iCalendar file from JSON events. To read an .ics file use parse_ics. Returns RFC 5545 .ics, base64, data URI and UIDs; escaped text, CRLF folded at 75 octets. Offline; nothing stored. TZID mode has no VTIMEZONE; offsets become UTC, local times float. Invalid zone/date/rrule/email/URL or both end and duration: uncharged 422 naming the event. Typically under 0.1 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/ics-calendar-api.html
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"events": "<events>"
},
"name": "build_ics_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | 1-50 events. | |
| timezone | No | Default IANA time zone for events without one. | |
| time_format | No | tzid (default): zoned times as TZID=...; utc: all times in UTC. | tzid |
| calendar_name | No | Calendar name (X-WR-CALNAME). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ics | No | ||
| note | No | ||
| uids | No | ||
| bytes | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| base64 | No | ||
| data_uri | No | ||
| filename | No | ||
| event_count | No | ||
| time_format | No |