Context Controls
manage_contextRecap play sessions, tune output verbosity, reorder briefing sections, and discover tools by name or schema. Use it to manage play-facing context controls without altering story content.
Instructions
Manage play-facing context 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).
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": {
"action": "<action>"
},
"name": "manage_context"
}
}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, or discover. | |
| detail | No | discover response detail: summary (default) or schema (live input schemas for the matches; requires query; REQ-609). | |
| format | No | Recap/compress output notation (recap, compress; default markdown; REQ-072g). | |
| 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). | |
| max_rolls | No | Significant rolls to return, bounded 1–50 (recap; default 5; REQ-072e). | |
| 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). | |
| max_transitions | No | Scene transitions to return, bounded 1–20 (recap; default 5; REQ-072e). |
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). |