create_migration_batch
Draft a billing batch by bill dates. Moves no money.
Authentication required
Endpoint
endpoint
https://business.sessions.website/@<handle>/api/mcpWhen to use it
Once the readiness board is green, to group the memberships whose bills fall in a date range.
Parameters
billsFromstringrequiredFirst bill date, YYYY-MM-DD.
billsThroughstringrequiredLast bill date, YYYY-MM-DD.
Returns
The migration status with the draft batch, or why it was refused (it starts within 2 days, or overlaps another batch).
Example
POST this to the endpoint above.
JSON-RPC
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_migration_batch",
"arguments": {
"billsFrom": "2026-12-10",
"billsThrough": "2026-12-24"
}
}
}content
Batch drafted. Nothing moves until it is scheduled.
- Batch 1 [<id>] · draft · bills 2026-12-10 → 2026-12-24What 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.
create_migration_batch
Draft a billing batch: every membership still billed by the old platform whose next bill date falls between billsFrom and billsThrough (YYYY-MM-DD, the business's time zone). A draft moves no money; schedule_migration_batch confirms it. Refused when it starts within 2 days or overlaps another batch.