Operations: planning, absences and cover
Move a class (preview)
- Permission required
ops.planning.edit
When to use it
Prepares changing the time, day or room of a recurring class with a scope (that day only, from that day, up to a date or the whole series), with the panel's rules (room busy, instructor busy, qualification). The preview already checks those rules.
Input
| Field | Type | Description |
|---|---|---|
occurrence_idRequired | string | |
scopeRequired | "single" | "future" | "until" | "all" | single: that day only · future: from that day · until: up to until · all: the whole series |
until | string | |
start | string | New start time |
end | string | New end time (default keeps the duration) |
weekday | integer | New day: 1 = Monday … 7 = Sunday |
space_id | integer | New room |
organization_id | integer | Optional: can only be the key's organization |
Every tool also accepts lang (es | en) for the language of the text answer.
Output
| Field | Type | Description |
|---|---|---|
summaryRequired | string | What will change, in the caller's language |
effectsRequired | object | Structured detail of the change: affected people, classes, dates… |
confirm_tokenRequired | string | Pass it to confirm_action to execute. Single use, 15 minutes, only for this key |
expires_atRequired | string | ISO time when the token expires |
confirm_withRequired | "confirm_action" |
Examples
Example 1: Monday's Body Pump moves to 11:00 from that day
Call
{
"name": "ops_session_move_preview",
"arguments": {
"occurrence_id": "120@2026-11-30",
"scope": "future",
"start": "11:00"
}
}Equivalent JSON-RPC call (POST /mcp)
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "ops_session_move_preview",
"arguments": {
"occurrence_id": "120@2026-11-30",
"scope": "future",
"start": "11:00"
}
}
}