create_activity
Create a class, event, bookable time, appointment, league or tournament.
Endpoint
https://business.sessions.website/@<handle>/api/mcpWhen to use it
For the "create the first activity" setup step, and any new offering after it.
Before
create_session, which schedules a class, event or appointment. A booking, league or tournament gets its times from the owner in the admin.
Parameters
namestringrequiredThe activity name, e.g. "Vinyasa Flow".
structurestringrequiredclass for a recurring class people book a spot in, session for a one-off event, booking for open times (courts, rooms), appointment for one-to-one, league or tournament for sport.
One of: class, session, booking, appointment, league, tournament, other
visibilitystringoptionalpublic (default) lists it; private is link-only; internal is staff-only.
One of: public, private, internal
descriptionstringoptionalWhat customers read about it.
pricenumberoptionalDrop-in price in cents (optional; 2000 is $20.00).
Returns
The activity with its id and admin link, or per-field errors.
Example
POST this to the endpoint above.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_activity",
"arguments": {
"name": "Hot Flow",
"structure": "class",
"price": 2500
}
}
}Created class "Hot Flow" [<id>], public. Admin: https://business.sessions.website/@hotflow/activities/<id>.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.