Session Manage
session_manageStart, pause, or end a campaign session as DM, with optional recap notes and end-of-session state snapshot.
Instructions
Start, pause, or end a campaign session through REST (DM only). Use session_list to inspect history and session_notes_update to edit or clear a recap without another lifecycle transition. start creates a session; pause/end resolve campaign.activeSession.id and fail if none exists. Lifecycle changes are not guaranteed idempotent: do not repeat start/end to repair notes. notes and save_state apply only to end; other actions reject nondefault values. End notes are campaign-wide, and empty text does not clear an existing recap. save_state requests the upstream end-of-session snapshot; it is not a bridge-side backup. Returns upstream REST data; it does not wait for a WS business ACK. Returns {ok:true,data} on success; tool-body failures return {ok:false,error} with optional diagnostic data. Argument-schema errors are MCP errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Shared recap for end, at most 2000 characters; null omits it. Empty end text does not clear old notes; use session_notes_update. | |
| action | Yes | Lifecycle transition: start, pause, or end, case-insensitive. Pause/end target the currently active session. | |
| save_state | No | True (default) requests saving state on end; false skips that snapshot. Must remain true for start/pause. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||