Leave an event
leave_eventGives up a guest’s spot or their place on the waitlist, or takes back their ask to join, with the id and token join_event gave. A spot goes to the first person on the waitlist at once, so it can’t be taken back: to come after all, join again (join_event), at the end of the line. Works until the event starts (409 event_over after that, and 409 event_cancelled for a cancelled event). Leaving twice changes nothing. Ask the person before calling it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"token": "<token>"
},
"name": "leave_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | a guest id ("gst_…"): from get_event for a host, or the one join_event gave the guest | |
| token | Yes | the guest’s token: `token` from join_event, or the `token` in their link (".../e/<slug>?guest=<id>&token=<token>") |