Create a calendar event
calendar_create_eventCreate an event on the primary Microsoft 365 calendar and get the created event back. Inviting attendees sends meeting invitations immediately, so confirm details before submitting.
Instructions
Creates an event on the primary calendar and returns the created event. Listing attendees sends them a meeting invitation immediately, so confirm the details with the user first. A start or end without an explicit UTC offset is treated as local time in timeZone (UTC when that is omitted).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ISO-8601 end, interpreted the same way as `start`. | |
| body | No | Event description shown in the invitation. | |
| start | Yes | ISO-8601 start. Without an offset it is read as local time in `timeZone`; with a Z or ±HH:MM offset it is an absolute instant. | |
| subject | Yes | Event subject line. | |
| bodyType | No | How to interpret `body`. Defaults to 'text'. | text |
| isAllDay | No | Make this an all-day event. Graph then requires start and end to be midnight and at least 24h apart. | |
| location | No | Free-text location, e.g. "Room 4B" or "Zurich office". | |
| timeZone | No | IANA or Windows time-zone name (e.g. "Europe/Berlin", "Pacific Standard Time") used to interpret naive start/end values and to render returned times. | |
| attendees | No | People and rooms to invite. Creating the event sends them an invitation immediately. | |
| isOnlineMeeting | No | Attach a Microsoft Teams meeting link. |