Session Management
manage_sessionRecap archived play sessions, tune session verbosity, reorder briefing sections, and search available tools for RPG play.
Instructions
Manage play-facing session controls: recap, verbosity, briefing_order, and tool discovery, distinct from story content and Novel lifecycle. recap accepts an archived session_id, GM-only gm_notes, and an optional compression tier; gm_notes are never returned to a non-GM badge. discover searches names, descriptions, and titles, and detail schema requires query. verbosity is session-scoped; briefing_order persists to the Novel and requires the GM or Editor badge. recap and discover are read-only; a setting is restored by setting it again (no undo snapshot is taken). Use when: recapping play, tuning output verbosity, reordering the briefing, or finding a tool. Do NOT use when: health, audit compaction, event-log, or category operations — use manage_diagnostics; recording story content — use manage_story (action: record).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | normal or terse (verbosity). | |
| tier | No | Compression tier to assemble (recap; REQ-592). | |
| query | No | Optional search term matched against tool name, description, and title (discover). | |
| action | Yes | recap, verbosity, briefing_order, compress (non-mutating audit summary prompt), compact (GM-only irreversible audit-log compaction), health, context_report (per-section token ledger), subscribe, discover (list/search tools), category (reassign a tool's category), event (append an observation), history (read the event log), verify (compare live state to recorded hashes), replay (read-only event-log inspection), visibility_check (scan a draft for GM-only disclosure), or visibility_audit (recent visibility decisions). | |
| detail | No | discover response detail: summary (default) or schema (live input schemas for the matches; requires query; REQ-609). | |
| gm_notes | No | GM-only free-text notes returned only to the Game Master badge (recap). | |
| sections | No | Ordered list of briefing sections (briefing_order). | |
| session_id | No | Archived session id to include in recap (recap). | |
| budget_tokens | No | Positive token budget for tier assembly (recap; REQ-592) or for ledger packing (context_report; REQ-610). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Human-readable text envelope mirroring the structured result (REQ-001, REQ-548a). | |
| status | Yes | Machine-readable result status: OK, NEED_INPUT, WARNING, PARTIAL, or an error category (REQ-002, REQ-548c). |