Assign instructors to a session
assign_instructors_to_sessionAssign or replace the instructors on an existing session, e.g. 'put Alex on tomorrow's 10am dive instead of Sam'. Replaces the full instructor list for the session (pass every instructor who should remain assigned, not just the one being added). MEDIUM RISK — always show a confirmation prompt before executing. Checks for instructor double-booking the same way the Event Planner UI does. Audited and reversible. Medium risk. The first call returns confirm_required with an action_id; call again with confirmed_action_id set to it to execute.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"instructor_ids": "<instructor_ids>"
},
"name": "assign_instructors_to_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason for the change (for audit log) | |
| session_id | Yes | UUID of the session to update | |
| instructor_ids | Yes | Full list of instructor UUIDs that should be assigned to the session after this call | |
| confirmed_action_id | No | Set to the action_id from the confirm_required response to execute this action. Omit on the first call. |