Skip to content

list_activities

List what the business runs.

Authentication required

Endpoint

endpoint
https://business.sessions.website/@<handle>/api/mcp

When to use it

  • To orient in a business you have just connected to — this is its catalogue of what it runs.

  • To get the activity id create_session takes.

Parameters

limitnumberoptional

Max activities (default 25).

Returns

Each activity with its type, visibility, price and upcoming-session count.

Example

POST this to the endpoint above.

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_activities",
    "arguments": {
      "limit": 25
    }
  }
}
content
4 activity(ies):
- Yoga [<id>] · class · visible · $24.00 ·
  12 upcoming

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.

list_activities
List the business's activities (classes, leagues, appointments, etc.) with type, visibility, price, and upcoming-session count.

See also