Microsoft 365

Cancel an Outlook event

m365_calendar_cancel · Deletes data · Markdown

Cancels an event the mailbox organizes and tells its attendees; waits for the owner by default.

$0.001 a call

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

An example

Cancel Sophie's demo and tell her a new time follows.

Your agent callsm365_calendar_cancel$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",
  "event_id": "AAMkAGI2TG93AAA=",
  "comment": "Sophie asked to move it; a new time follows."
}
What comes back
{
  "mailbox": "support@hansenvoss.example",
  "cancelled": true,
  "event_id": "AAMkAGI2TG93AAA=",
  "attendees_told": true
}

Use it when

A meeting is off.

What it does

Cancel an event the mailbox organizes and tell its attendees, with an optional note. On accounts with an owner it waits for the owner's approval by default. $0.001.

What comes back

mailbox; cancelled; event_id; attendees_told. 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.
event_idRequiredstring1 to 400 characters.
commentstringUp to 2,000 characters.

The call

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

Terminal
curl -X POST https://api.conecto.chat/v1/tools/m365_calendar_cancel \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mailbox":"support@hansenvoss.example","event_id":"AAMkAGI2TG93AAA=","comment":"Sophie asked to move it; a new time follows."}'

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.
not_found404Microsoft 365 has no such message, event or file.Search first and use its id.
vendor_rejected502Microsoft refused: the app lacks a permission or consent, or the request.Ask the admin to grant what the message names.

Give this to your agent.

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