Calendar
Create a calendar with events for schedules, appointments, holidays, and event planning.
Send "type": "calendar".
Create a calendar with events for schedules, appointments, holidays, and event planning.
Also available as the MCP tool render_calendar. The same payload works through either surface.
Fields
eventsobject[]requiredArray of calendar events. Use same color for all events.
Child attributes
idstringrequiredUnique event ID (e.g., event_1)
titlestringrequiredEvent title
descriptionstringEvent description
startstringrequiredStart date/time in ISO 8601 format with Z suffix
endstringEnd date/time. For timed events: same day as start. For all-day: equals start.
allDaybooleanTrue for all-day events
colorstringEvent color. Use one of: #4285f4, #ea4335, #fbbc04, #34a853, #ff6d01, #46bdc6, #7986cb, #8e24aa
locationstringEvent location
attendeesstring[]remindersobject[]recurrencestringRecurrence rule or null
createdAtstringISO date string
settingsobjectrequiredCalendar settings
Child attributes
themestringDefaults to default.
weekStartsOnenum<integer>0 for Sunday, 1 for Monday. One of 0 or 1.
dateFormatenum<string>One of MM/DD/YYYY or DD/MM/YYYY. Defaults to MM/DD/YYYY.
timeFormatenum<string>One of 12h or 24h. Defaults to 12h.
highlightWeekendsbooleanDefaults to true.
showWeekNumbersbooleanDefaults to false.
Example
{
"type": "calendar",
"data": {
"events": [
{
"id": "string",
"title": "Q4 Launch Planning",
"description": "string",
"start": "string",
"end": "string",
"allDay": false,
"color": "string",
"location": "string",
"attendees": [
"string"
]
}
],
"settings": {
"theme": "default",
"weekStartsOn": 0,
"dateFormat": "MM/DD/YYYY",
"timeFormat": "12h",
"highlightWeekends": true,
"showWeekNumbers": false
}
}
}