calendar_add
Create calendar events with explicit local start/end times, recurrence rules (daily, weekly, monthly, yearly), and alerts. Returns the new event ID.
Instructions
Create a calendar event. Times must be explicit local datetimes (YYYY-MM-DD HH:MM). Supports recurrence (FREQ=DAILY/WEEKLY/MONTHLY/YEARLY with INTERVAL, COUNT or UNTIL, BYDAY) and alerts in minutes before the start. Returns the new event id.
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": {
"calendar_name": "<calendar_name>",
"title": "<title>",
"start": "<start>"
},
"name": "calendar_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End as YYYY-MM-DD HH:MM local time (default: start + 1 hour) | |
| count | No | Number of occurrences (1-1000); cannot be combined with until | |
| notes | No | Event notes / description | |
| start | Yes | Start as YYYY-MM-DD HH:MM local time, or YYYY-MM-DD for all-day (required) | |
| title | Yes | Event title (required) | |
| until | No | Repeat until this local datetime (YYYY-MM-DD HH:MM) | |
| by_day | No | Weekly by-day list: MO TU WE TH FR SA SU | |
| all_day | No | Create an all-day event | |
| confirm | No | Required for deletes and multi-recipient sends; without it the call only previews | |
| dry_run | No | Preview only: report what would happen and change nothing (default false) | |
| interval | No | Recurrence interval, e.g. 2 for every other week (1-366) | |
| location | No | Event location | |
| frequency | No | Recurrence frequency | |
| recurrence | No | Raw RRULE instead of the structured fields, e.g. FREQ=WEEKLY;INTERVAL=1;COUNT=10 | |
| calendar_name | Yes | Target calendar name from calendar_list_calendars (required) | |
| alerts_minutes_before | No | Display alerts in minutes before the start (max 5, up to 40320) |