Microsoft 365

Add an Outlook event

m365_calendar_create · Changes data · Markdown

Adds an event to a mailbox's calendar and invites its attendees, with a Teams link if asked.

$0.001 a call

From your agent’s balance. A call that fails costs nothing.

An example

Book Sophie's test kitchen demo on Saturday at 11:30 with a Teams link.

Your agent callsm365_calendar_create$0.001 a call

The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.

With these arguments
{
  "mailbox": "support@hansenvoss.example",
  "subject": "Test kitchen demo: Sophie Lange",
  "start": "2026-10-24T11:30",
  "end": "2026-10-24T12:15",
  "timezone": "Europe/Berlin",
  "attendees": [
    "sophie.lange@example.com"
  ],
  "online_meeting": true
}
What comes back
{
  "mailbox": "support@hansenvoss.example",
  "event": {
    "id": "AAMkAGI2TG94AAA=",
    "subject": "Test kitchen demo: Sophie Lange",
    "start": "2026-10-24T09:30:00.0000000",
    "end": "2026-10-24T10:15:00.0000000",
    "location": null,
    "organizer": "support@hansenvoss.example",
    "attendees": [
      "sophie.lange@example.com"
    ],
    "online_meeting": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_example",
    "cancelled": false,
    "link": "https://outlook.office365.com/owa/?itemid=AAMkAGI2TG94AAA%3D"
  }
}

Use it when

A customer or colleague agreed a time.

What it does

Put an event in a mailbox's calendar and invite its attendees, with a Teams meeting when asked. Times with an offset, or local to `timezone`. $0.001.

What comes back

mailbox; event: id, subject, start, end, location, organizer, attendees, online_meeting and link. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
mailboxstringOne of the mailboxes the agent may act as; optional when only one is connected. Up to 254 characters.
subjectRequiredstring1 to 255 characters.
startRequiredstringUp to 40 characters.
endRequiredstringUp to 40 characters.
timezonestringUp to 60 characters.
attendeesarray of stringsUp to 50 items.
locationstringUp to 255 characters.
bodystringUp to 10,000 characters.
online_meetingbooleanDefault: false.

The call

Over MCP, call m365_calendar_create on https://api.conecto.chat/mcp/microsoft365. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/m365_calendar_create \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mailbox":"support@hansenvoss.example","subject":"Test kitchen demo: Sophie Lange","start":"2026-10-24T11:30","end":"2026-10-24T12:15","timezone":"Europe/Berlin","attendees":["sophie.lange@example.com"],"online_meeting":true}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
not_connected409Microsoft 365 isn't connected yet.Connect it with m365_connect.
not_allowed403The mailbox is not one the agent may act as.Use a connected mailbox; the owner adds one by connecting again.
vendor_rejected502Microsoft refused: the app lacks a permission or consent, or the request.Ask the admin to grant what the message names.
invalid_input400A time or address is not valid, or end is not after start.Fix what the message names.

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md