Skip to content

cancel_booking

Cancel one of the viewer's bookings.

Anonymous, or a Bearer token for viewer tools

Endpoint

endpoint
https://go.sessions.website/api/mcp

When to use it

  • Only after telling the person what cancelling will do — this server’s tool acts immediately, unlike the Web MCP one.

Parameters

idstringrequired

Booking id to cancel.

Returns

Confirmation, or the per-field errors explaining why the cancellation was refused. Refunds follow the business’s cancellation policy. Also callable as cancel_registration, its name before bookings replaced registrations; that name is no longer listed.

Example

POST this to the endpoint above.

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "cancel_booking",
    "arguments": {
      "id": "<booking id>"
    }
  }
}
content
Booking <id> cancelled.

What the agent is told

The description the model reads when deciding whether to call this. It is the only thing that decides whether the tool fires at the right moment, so it is worth knowing what it says.

cancel_booking
Cancel one of the signed-in person’s bookings by its booking id (from my_bookings). Takes effect immediately and cannot be undone; any refund follows the business’s cancellation policy. Confirm the session and time with the person first. Requires a linked Sessions account.

See also