Skip to content

import_migration_schedule

Import the schedule from the old platform’s export.

Authentication required

Endpoint

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

When to use it

  • When the owner wants classes from their old platform’s schedule CSV live at once. For drafts to review, use apply_migration_catalog.

Parameters

csvstringrequired

The old platform's schedule CSV.

Returns

How many sessions, activities, locations and instructors were created, and the rows it skipped with why.

Example

POST this to the endpoint above.

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "import_migration_schedule",
    "arguments": {
      "csv": "Class Name,Date,Time\nHot Flow,2026-12-02,08:00"
    }
  }
}
content
Imported 1 session(s) across 1 new activity(ies), 0 new location(s) and 0 new instructor(s).

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.

import_migration_schedule
Import classes from the schedule CSV the studio's old platform exports. New activities are created public, so prefer apply_migration_catalog (which creates hidden drafts) unless the owner wants the schedule live at once.

See also