agent.json
{
"id": "agentrove.calendar-assistant",
"name": "Calendar Assistant",
"version": "0.1.2",
"license": "MIT",
"summary": "Reads .ics calendars (time zones, all-day events, recurring events), finds free meeting slots inside working hours across DST, drafts meeting .ics files, and can create a Google Calendar event after explicit confirmation.",
"sdk_import": "../../../sdk/index.js",
"entry": { "module": "src/index.js", "cli": "bin/cli.js", "mcp": "bin/mcp.js" },
"tools": [
{
"name": "parse_ics",
"description": "Parse iCalendar (.ics) text into calendar events. Expands RRULE recurrences (DAILY/WEEKLY/MONTHLY/YEARLY with COUNT, UNTIL, BYDAY, BYMONTHDAY, BYMONTH), RDATE, EXDATE and RECURRENCE-ID overrides. Timed events are returned in UTC.",
"side_effects": "none",
"requires_confirmation": false,
"input_schema": {
"type": "object",
"additionalProperties": false,
"required": ["ics"],
"properties": {
"ics": { "type": "string", "minLength": 1, "maxLength": 5000000, "description": "iCalendar text." },
"default_timezone": { "type": "string", "maxLength": 64, "description": "IANA zone used for floating times (no TZID, no Z). Default UTC." },
"expand_from": { "type": "string", "format": "date-time", "description": "Start of the window for recurrence expansion (and event filtering when given)." },
"expand_until": { "type": "string", "format": "date-time", "description": "End of the window." },
"max_events": { "type": "integer", "minimum": 1, "maximum": 20000 }
}
},
"output_schema": {
"type": "object",
"required": ["events", "window", "warnings"],
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"required": ["uid", "summary", "start", "end", "all_day"],
"properties": {
"uid": { "type": "string" },
"summary": { "type": "string" },
"start": { "type": "string" },
"end": { "type": "string" },
"timezone": { "type": "string" },
"location": { "type": "string" },
"all_day": { "type": "boolean" },
"status": { "type": "string" },
"transparent": { "type": "boolean" },
"recurring": { "type": "boolean" },
"recurrence_id": { "type": "string" },
"floating": { "type": "boolean" }
}
}
},
"window": { "type": "object", "required": ["start", "end"], "properties": { "start": { "type": "string" }, "end": { "type": "string" } } },
"vevent_count": { "type": "integer" },
"warnings": { "type": "array", "items": { "type": "string" } }
}
}
},
{
"name": "find_free_slots",
"description": "Find free time inside working hours (in an IANA time zone, DST-correct) across one or more calendars (.ics text or parsed events) and explicit busy intervals. Returns UTC slots plus local-time labels.",
"side_effects": "none",
"requires_confirmation": false,
"input_schema": {
"type": "object",
"additionalProperties": false,
"required": ["working_hours", "duration_minutes", "date_from", "date_to"],
"properties": {
"calendars": {
"type": "array",
"maxItems": 20,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": { "type": "string", "maxLength": 200 },
"ics": { "type": "string", "maxLength": 5000000 },
"events": {
"type": "array",
"maxItems": 20000,
"items": {
"type": "object",
"required": ["start", "end"],
"properties": {
"start": { "type": "string" },
"end": { "type": "string" },
"all_day": { "type": "boolean" },
"status": { "type": "string" },
"transparent": { "type": "boolean" }
}
}
}
}
}
},
"busy": {
"type": "array",
"maxItems": 20000,
"items": { "type": "object", "required": ["start", "end"], "properties": { "start": { "type": "string" }, "end": { "type": "string" } } }
},
"working_hours": {
"type": "object",
"additionalProperties": false,
"required": ["timezone", "start", "end"],
"properties": {
"timezone": { "type": "string", "maxLength": 64 },
"start": { "type": "string", "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$" },
"end": { "type": "string", "pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$" },
"days": { "type": "array", "minItems": 1, "maxItems": 7, "items": { "enum": ["MO", "TU", "WE", "TH", "FR", "SA", "SU"] } }
}
},
"duration_minutes": { "type": "integer", "minimum": 5, "maximum": 1440 },
"date_from": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$" },
"date_to": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$" },
"buffer_minutes": { "type": "integer", "minimum": 0, "maximum": 240 },
"granularity_minutes": { "type": "integer", "minimum": 5, "maximum": 240 },
"max_slots": { "type": "integer", "minimum": 1, "maximum": 1000 },
"exclude_past": { "type": "boolean" },
"all_day_events_block": { "type": "boolean" }
}
},
"output_schema": {
"type": "object",
"required": ["timezone", "slots", "warnings"],
"properties": {
"timezone": { "type": "string" },
"slots": {
"type": "array",
"items": {
"type": "object",
"required": ["start", "end"],
"properties": {
"start": { "type": "string", "format": "date-time" },
"end": { "type": "string", "format": "date-time" },
"local_start": { "type": "string" },
"local_end": { "type": "string" }
}
}
},
"busy_intervals_considered": { "type": "integer" },
"warnings": { "type": "array", "items": { "type": "string" } }
}
}
},
{
"name": "propose_meeting",
"description": "Draft a meeting as iCalendar text (one VEVENT, times in UTC) for review or import. Writes nothing and sends nothing.",
"side_effects": "none",
"requires_confirmation": false,
"input_schema": {
"type": "object",
"additionalProperties": false,
"required": ["title", "start"],
"properties": {
"title": { "type": "string", "minLength": 1, "maxLength": 300 },
"start": { "type": "string", "maxLength": 40, "description": "ISO date-time with Z/offset, or local YYYY-MM-DDTHH:MM with timezone." },
"end": { "type": "string", "maxLength": 40 },
"duration_minutes": { "type": "integer", "minimum": 5, "maximum": 1440 },
"timezone": { "type": "string", "maxLength": 64 },
"description": { "type": "string", "maxLength": 8000 },
"location": { "type": "string", "maxLength": 500 },
"organizer": { "type": "string", "maxLength": 254 },
"attendees": { "type": "array", "maxItems": 100, "items": { "type": "string", "maxLength": 254 } },
"uid": { "type": "string", "pattern": "^[A-Za-z0-9@._-]{1,200}$" }
}
},
"output_schema": {
"type": "object",
"required": ["ics", "event", "notes"],
"properties": {
"ics": { "type": "string" },
"event": {
"type": "object",
"required": ["uid", "summary", "start", "end"],
"properties": { "uid": { "type": "string" }, "summary": { "type": "string" }, "start": { "type": "string" }, "end": { "type": "string" } }
},
"notes": { "type": "array", "items": { "type": "string" } }
}
}
},
{
"name": "create_google_event",
"description": "Create one event in the user's Google Calendar via the official Calendar API (events.insert). External write: requires \"confirm\": true after the user has reviewed the details (use propose_meeting first), and the GOOGLE_CALENDAR_ACCESS_TOKEN credential. Does not email attendees unless send_updates is set.",
"side_effects": "external_write",
"requires_confirmation": true,
"input_schema": {
"type": "object",
"additionalProperties": false,
"required": ["summary", "start", "end"],
"properties": {
"calendar_id": { "type": "string", "pattern": "^[A-Za-z0-9@._#+-]{1,200}$", "description": "Default: primary" },
"summary": { "type": "string", "minLength": 1, "maxLength": 1024 },
"start": { "type": "string", "maxLength": 40 },
"end": { "type": "string", "maxLength": 40 },
"time_zone": { "type": "string", "maxLength": 64 },
"description": { "type": "string", "maxLength": 8000 },
"location": { "type": "string", "maxLength": 500 },
"attendees": { "type": "array", "maxItems": 50, "items": { "type": "string", "maxLength": 254 } },
"send_updates": { "enum": ["none", "all", "externalOnly"], "description": "Default none: Google sends no invitation emails." },
"event_id": { "type": "string", "pattern": "^[a-v0-9]{5,1024}$", "description": "Optional idempotency id (base32hex). Derived from the event details when omitted, so retries do not duplicate." },
"confirm": { "type": "boolean", "description": "Must be true. Set only after the user approved this exact event." }
}
},
"output_schema": {
"type": "object",
"required": ["created", "already_exists", "id", "calendar_id", "request"],
"properties": {
"created": { "type": "boolean" },
"already_exists": { "type": "boolean" },
"id": { "type": "string" },
"calendar_id": { "type": "string" },
"html_link": { "type": "string" },
"status": { "type": "string" },
"request": { "type": "object" }
}
}
}
],
"permissions": {
"filesystem": "none",
"network": ["www.googleapis.com"],
"credentials": ["GOOGLE_CALENDAR_ACCESS_TOKEN"],
"notes": "Network and the credential are used only by create_google_event. parse_ics, find_free_slots and propose_meeting run fully offline."
},
"io": {
"inputs": [
{ "name": "ics", "type": "ics_file" },
{ "name": "events", "type": "calendar_events" },
{ "name": "busy", "type": "time_slots" }
],
"outputs": [
{ "name": "events", "type": "calendar_events" },
{ "name": "slots", "type": "time_slots" },
{ "name": "ics", "type": "ics_file" }
]
},
"runtimes": [
{ "id": "node", "version": ">=20", "tested": true },
{ "id": "claude-code", "tested": false, "notes": "MCP stdio server; not yet verified in Claude Code by AgentRove" }
],
"external_costs": "None for parse_ics, find_free_slots and propose_meeting. create_google_event calls the Google Calendar API with your own OAuth token; the API is free within Google's quotas, and any Google account terms apply."
}