# AgentsToolsHub iCalendar Generator

> AgentsToolsHub iCalendar Generator is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-17).

Converts a JSON array of calendar events into a valid RFC 5545 .ics file with proper CRLF line endings, text escaping, line folding, and DTSTAMP, importable into Google Calendar, Outlook, and Apple Calendar.

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/dev/ics-generate?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentstoolshub-icalendar-generator-9a28696f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dy2dMDMMEEi7sbwIU85VQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentstoolshub-icalendar-generator-9a28696f
```

Example prompt: Turn these JSON events into a valid .ics calendar file I can import into Google Calendar: [{"title":"Team Standup","start":"2025-06-10T09:00:00","end":"2025-06-10T09:30:00"},{"title":"Product Review","start":"2025-06-11T14:00:00","end":"2025-06-11T15:00:00"}] — name the calendar 'Work Schedule'.

## When to prefer this

Use this endpoint when you need to programmatically convert structured JSON event data into a standards-compliant .ics file that can be universally imported by any RFC 5545-compatible calendar application. Prefer it over manual calendar entry or proprietary calendar APIs when portability across Google Calendar, Outlook, and Apple Calendar is required without authentication or calendar-API credentials.

## Known failure modes

- Malformed or invalid JSON in the events parameter returns an error
- Missing required event fields (e.g. no start time) may produce incomplete VEVENT blocks
- Very large event arrays may hit query string length limits for a GET request
- Events with special characters that cannot be escaped correctly may cause parsing failures in some calendar clients

## How this service works

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. Use this when an agent needs to jSON events → valid .ics calendar file.

## Output

Returns a valid RFC 5545 iCalendar (.ics) file as text, with VCALENDAR and VEVENT blocks, correct CRLF line endings, text escaping, 75-octet line folding, and a DTSTAMP on every event — ready to be saved as a .ics file and imported into Google Calendar, Outlook, or Apple Calendar.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "events"
     ],
     "properties": {
      "events": {
       "type": "string",
       "description": "Events (JSON array)"
      },
      "calendarName": {
       "type": "string",
       "description": "Calendar name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentstoolshub-icalendar-generator-9a28696f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
