Validate & Auto-Repair .ics Payload
validate_ics_payloadAudits raw .ics text for RFC 5545 & iTIP defects (LF-only line breaks, >75-octet lines, missing VCALENDAR/VERSION/PRODID/UID/DTSTAMP/DTSTART, DTEND <= DTSTART, missing VTIMEZONE for TZID, METHOD:CANCEL without STATUS:CANCELLED, METHOD:REQUEST without ORGANIZER, unescaped commas/newlines) and optionally returns a deterministically repaired .ics string. Pricing: $0.001 USD per .ics audit (with optional deterministic auto-repair) (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.
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": {
"ics": "<ics>"
},
"name": "validate_ics_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ics | Yes | Raw .ics calendar string to audit against RFC 5545 and Google/Outlook/Apple rules. | |
| repair | No | Set true to deterministically auto-repair CRLF endings, 75-octet UTF-8 folding, missing UID/DTSTAMP/VTIMEZONE, and unescaped text delimiters. |