Skip to content

cancel_registration

Cancel one of the viewer's registrations.

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

Registration id to cancel.

Returns

Confirmation, or the per-field errors explaining why the cancellation was refused. Refunds follow the business’s cancellation policy.

Example

POST this to the endpoint above.

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "cancel_registration",
    "arguments": {
      "id": "<registration id>"
    }
  }
}
content
Registration <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_registration
Cancel one of the signed-in viewer’s session registrations by its registration id (from my_registrations). Requires the viewer to be signed in.

See also