holonovel
v2026.11.30Holonovel MCP server: world-model base for tabletop RPG play (rooms, parser, narrative tools).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
set_badge Set Active Badge
Switch the active badge to player, game_master, observer, or none (Editor), gating tool access server-side for the active Novel; always callable. The badge is per Novel and switching re-filters tools/list immediately, so a narrower badge can revoke tools mid-task and switching back restores them; badge changes are mutating session state, audited, and reversible by switching back. Use when: entering the story, spectating, or stepping away to edit. Do NOT use when: answering a pending workflow decision — use respond_decision.
| Parameter | Type | Description |
|---|---|---|
badge * | string | The badge to activate: player, game_master, observer, or none (Editor). |
respond_decision Respond to Workflow Decision
Answer a pending workflow decision, atomically draining it and persisting the outcome to the Novel. option must match one of the emitted choices; 'cancel' aborts the workflow and restores its pre-workflow snapshot, while any applied outcome is not reversible. The drain is mutating and audited, and a second call with no pending decision returns STATE_CONFLICT. Use when: the server emitted a [NEED_INPUT] prompt and the caller must choose. Do NOT use when: no decision is pending — use set_badge or a state tool instead.
| Parameter | Type | Description |
|---|---|---|
decision * | string | The canonical decision text the workflow is waiting on. |
option * | string | The chosen option, or 'cancel' to abort the workflow and restore its snapshot. |
manage_history Undo and Redo History
Undo or redo the most recent state mutation, restoring the Novel content snapshot captured before it. Undo reaches the newest mutation under any badge while the stacks stay per badge and are capped by TTRPG_MAX_SNAPSHOT_DEPTH; redo replays what the calling badge undid. Append-only logs, checkpoints, the undo/redo stacks, and the active badge are preserved rather than rolled back, and the response names the mutation it reversed or re-applied. Both directions mutate Novel state and persist immediately, and a pending workflow decision blocks both until resolved with respond_decision. Use when: re…
| Parameter | Type | Description |
|---|---|---|
action | string | Which direction to move: undo (revert the last mutation) or redo (re-apply the last undone mutation). Defaults to undo. |
manage_character Player Character Management (create/import, sheet, update)
Manage player characters (PCs): create, import, stage, activate, edit, signal, remove, or list the roster. stage adds an existing entity to the roster; set_active chooses which Novel entity play acts through and optionally sets pov; import requires roster_id and copies that roster character into the Novel. sheet and roster_list are read-only; Novel mutations persist, are audited, and are undoable via manage_history (action: undo). update merges provided fields (stats shallow-merge; omitted preserved); personality{} aliases description/voice/background/goals; details{} aliases ability_scores/sk…
| Parameter | Type | Description |
|---|---|---|
action * | string | create, stage, import, sheet, set_active, personality, voice, signal, update, remove, roster_remove, or roster_list. |
ability_scores | Ability scores (create). | |
background | string | Backstory (create/personality). |
classes | Class levels (create). | |
context | string | Which store to act on: novel, codex, roster, or reference. Explicit wins over the active Novel; with no value, an open Novel answers novel-capable actions and a create with no Novel goes to the roster… |
description | string | Narrative description (create/personality). |
details | object | Grouped mechanical details (create). |
entity_id | string | Entity identifier (stage/sheet/set_active/personality/voice/remove). |
equipment | Starting equipment (create). | |
examples | array | Voice examples (voice); at most 5; source tags synthesis examples for the [supplementary] annotation. |
feats | Feats (create). | |
format | string | Output format (sheet). |
goals | string | Character goals (create/personality). |
inventory | array | Replace the entity's inventory (update). |
name | string | Character name; omit (create) to begin step-by-step while a Novel is active. |
persona | string | Values, traits, and mannerisms (create/personality). |
personality | object | Grouped personality fields (create). |
pov | string | Point-of-view mode (set_active). |
roster_id | string | Roster identifier (import/roster_remove). |
ruleset | string | Installed ruleset slug for a create with no active Novel (profile-only when omitted and several are installed). |
seed | string | Deterministic seed (create). |
signal | string | Feedback category (signal); detail carries terse|normal|rich; register carries character|meta. |
skills | Trained skills (create). | |
species | string | Species (create). |
spells | array | Known spells (update); entries may be bare names or {name, level} objects. |
stage_to_roster | boolean | Also stage into the roster (create). |
stat_method | string | Stat-generation method (create). |
stats | object | Mechanical stat keys to shallow-merge into the entity's stats (update). |
talents | Talents (create). | |
value | string | Feedback text (signal). |
voice | string | Voice and speech pattern (create/personality). |
run_command Parser Command
AI-narrator tool — resolves spatial intent internally. Run the spatial parser: execute a parsed command, resolve a movement outcome, or map an intent to tool calls. execute accepts free-form text, mutates world and entity state, persists, and is audited; a mistaken move is reversed by issuing the inverse command because no undo snapshot is taken. resolve computes the same movement without mutating, and suggest returns recommended calls without executing them; source and target apply only to perception queries. On a ruleset-bound Novel the parser is GM-only for navigation and mutation, while…
| Parameter | Type | Description |
|---|---|---|
action | string | execute (parser), resolve (non-mutating intent), suggest (intent → tool calls), visibility (can one actor see another or a thing), or audibility (can one actor hear another). Defaults to execute. |
command | string | The natural-language command (execute). |
entity_id | string | Optional entity context (suggest). |
intent | string | The intent to resolve or map (resolve/suggest). |
source | string | Observing actor for visibility/audibility (defaults to the active entity). |
target | string | Actor or thing being seen or heard (visibility/audibility). |
manage_world World Model Management
Manage the world model — rooms, things, exits, and their spatial properties. create and update mutate in place and persist to the Novel; all mutations are audited; remove is permanent and requires re-creation; convert replaces the described subtree; generate creates rooms from installed table pools. create_exit links both directions and optionally binds an existing door thing so the door blocks passage; create_thing honors location_type only when location is set, and kind forces property defaults. time reports the Novel clock; advance_time adds integer minutes and derives the scene time_of_d…
| Parameter | Type | Description |
|---|---|---|
action * | string | World: list, get, create_room, update_room, remove_room, create_thing, update_thing, remove_thing, create_exit, remove_exit, convert, or generate. Clock: time or advance_time. Causal: causal_propose,… |
capacity | integer | Maximum passengers for a vehicle (create_thing/update_thing; defaults to 4 for vehicles). |
climbable | boolean | When true the thing can be climbed (create_thing/update_thing). |
description | string | Optional description (create/update). |
direction | string | Direction (create_exit/remove_exit). |
door | string | Door thing name bound to the created exit (create_exit); the door must already exist with kind 'door'. |
drinkable | boolean | When true the thing can be drunk (create_thing/update_thing). |
edible | boolean | When true the thing can be eaten (create_thing/update_thing). |
enterable | boolean | When true the thing can be entered (create_thing/update_thing). |
fixed | boolean | When true the thing cannot be taken (create_thing/update_thing). |
from | string | Source room alias for room_a (create_exit). |
id | string | Room or thing id (get; the lowercased name). |
key | string | Bound key thing name required to unlock or lock this thing when lockable (create_thing/update_thing). |
kind | string | Optional thing kind (create_thing). |
lit | boolean | When true the thing is lit (create_thing/update_thing). |
location | string | Optional containing room or thing (create_thing/update_thing). |
location_type | string | Where the thing is placed (create_thing). |
lockable | boolean | When true the thing can be locked (create_thing/update_thing). |
locked | boolean | When true the thing starts locked (create_thing/update_thing). |
minutes | integer | Integer minutes to advance the Novel clock (advance_time). |
name | string | Room/thing name (create/update/remove). |
noise | string | Auditory cue text reported by listen (create_thing/update_thing). |
openable | boolean | When true the thing can be opened (create_thing/update_thing). |
options | object | Generation options (generate): roles maps installed table names to room, objects, persons, or hazards pools; rooms requests a count bounded by TTRPG_WORLD_GEN_MAX_ROOMS. |
read_text | string | Text revealed when the thing is read (create_thing/update_thing). |
readable | boolean | When true the thing can be read (create_thing/update_thing). |
room | string | Source room (create_exit/remove_exit). |
room_a | string | Source room (create_exit). |
room_b | string | Destination room (create_exit). |
scent | string | Olfactory cue text reported by smell (create_thing/update_thing). |
seed | string | Deterministic seed (generate). |
source | string | Hybrid world-model source text (convert). |
switchable | boolean | When true the thing can be switched (create_thing/update_thing). |
switched_on | boolean | When true the thing is switched on (create_thing/update_thing). |
to | string | Destination room alias for room_b (create_exit). |
transparent | boolean | When true the thing is transparent (create_thing/update_thing). |
wearable | boolean | When true the thing can be worn (create_thing/update_thing). |
manage_combat Combat Encounter Management
Manage combat encounters in the active Novel — encounter turn order, participants, and lifecycle, not per-entity conditions. damage resolves a weapon hit against an entity or NPC health stat with a transparent roll, applying the ruleset's zero-health condition. Mutating actions persist to the Novel and are audited; status does not mutate state. Revert the most recent mutation with manage_history (action: undo). init's seed only reorders the danger set; participants keep their given order. Use when: starting, advancing, ending a fight, changing its participants, or resolving damage. Do NOT us…
| Parameter | Type | Description |
|---|---|---|
action * | string | init, advance, end, add_participant, remove_participant, damage, or status. |
amount | number | Flat non-negative damage modifier; with no dice, the whole damage (damage). |
attacker_id | string | Entity or NPC identifier dealing the damage (damage). |
damage_type | string | Free-text damage type recorded in the audit entry (damage). |
dangers | array | Optional non-entity combatants (init). |
dice | string | Damage dice notation without a modifier, e.g. 1d8 (damage). |
outcome | string | Optional text describing how combat ended (end). |
participant_id | string | Entity identifier (add_participant/remove_participant). |
participants | array | Entity identifiers participating (init). |
seed | string | Optional deterministic seed (init/damage). |
target_id | string | Entity or NPC identifier to damage (damage). |
weapon | string | Weapon name reported in the result and audit entry (damage). |
manage_causality Causality Management
Manage objective causal state and transition proposals. causal_propose records a proposal without applying it; causal_admit applies the proposal and causal_reject marks it rejected without deleting the ledger record; causal_expected_version guards optimistic concurrency and causal_from records the expected prior value; causal_ingress admits an external event without a proposal. Proposals persist and are audited, and the ledger is capped by TTRPG_CAUSAL_MAX_LEDGER_ENTRIES; list and state are read-only. Causal mutations are undoable via manage_history. Use when: proposing, admitting, rejecting,…
| Parameter | Type | Description |
|---|---|---|
action * | string | causal_propose, causal_admit, causal_reject, causal_list, causal_state, causal_ingress. |
causal_domain | string | location or scalar (causal_propose; default location). |
causal_entity | string | Entity whose objective state is proposed (causal_propose). |
causal_expected_version | number | Optimistic version guard (causal_propose). |
causal_from | string | number | boolean | null | Expected prior value (causal_propose). |
causal_key | string | State key within the entity (causal_propose). |
causal_origin_source | string | narrative, machine, or ruleset (causal_propose). |
causal_proposal_id | string | Recorded proposal id (causal_admit/causal_reject). |
causal_scope | string | Scope coordinate (causal_propose; default the active Novel slug). |
causal_source_ordinal | number | Contributing event-log ordinal (causal_propose; default the latest event). |
causal_value | string | number | boolean | null | Proposed value (causal_propose/causal_ingress). |
manage_scene Scene Management
Manage the active scene and its narrative framing — scene description, directive, choices, and oracle rolls. set overwrites the scene's description and metadata, derives the description from location only when description is omitted, and accepts fast_forward to skip an interval: changes applies NPC moves, conditions, or dispositions and skip_countdowns preserves narrative countdowns. directive replaces the active directive; choices replaces the offered options; oracle resolves a chance question and records the roll, so repeated calls are additive rather than idempotent. set and directive req…
| Parameter | Type | Description |
|---|---|---|
action * | string | set, directive, presence, autonomy, choices, or oracle. |
adventure_scene | string | null | Adventure-scene waypoint anchor; empty or null clears (set). |
allow_freeform | boolean | Allow free-form response (choices). |
atmosphere | string | Atmosphere (set). |
beat | string | Story-beat tag (set): setup, escalation, turning_point, climax, resolution, denouement. |
choices | array | List of choices (choices). |
context | object | Context for the choice (choices). |
description | string | Scene description (set). |
directive | string | Narrative directive (directive). |
fast_forward | object | Narrative fast-forward (set). |
likelihood | string | Likelihood tier (oracle). |
location | string | Scene location (set; presence records it with the declaration). |
prompt | string | Choice prompt (choices). |
question | string | Question to resolve (oracle). |
scene_type | Scene-type tag or array (set). Valid values are the default catalog (social, exploration, neutral, combat) plus any ruleset-extracted scene types. | |
seed | string | Deterministic seed (oracle). |
skip_transition_hook | boolean | Skip the scene-transition hook (set). |
time_of_day | string | Ignored; derived from the Novel clock (set). |
manage_npc NPC Management
Manage non-player characters in the active Novel. create requires a name; ruleset_reference links a stat block without copying it; mind is GM-only and never returned to the Player badge; remove deletes the NPC permanently. get returns the record plus a GM-only compiled identity summary when the NPC has accepted facets. create, update, and remove require the GM or Editor badge, persist to the Novel, are audited, and are undoable via manage_history (action: undo); list and get are read-only. With no Novel active, create writes a Codex entry of kind npc and `npcs://` lists Novel NPCs only. An exp…
| Parameter | Type | Description |
|---|---|---|
action * | string | create, update, remove, list, get, import_card, export_card, or import_cof. |
card | Character Card V3 JSON object or string (import_card). | |
cof_path | string | Local path to a .cof container (import_cof). |
confirm_lore | boolean | Import the card's character_book as lore entries (import_card). |
context | string | Which store to act on. An open Novel answers a create; with no Novel, create writes a Codex entry of kind npc. |
description | string | Optional description. |
detail | boolean | Return full NPC records instead of summary entries (list). |
disposition | string | Optional disposition. |
goals | string | Optional goals. |
license | string | Import license attestation (import_card). |
location | string | Optional location. |
mind | object | Optional GM-only NPC mind (create/update). |
name | string | NPC name (create). |
npc_id | string | NPC identifier (update/remove/get/export_card). |
persona | string | Optional values, traits, and mannerisms (create/update). |
role | string | Optional display role named in the voice directive (create/update); default NPC. |
ruleset_reference | string | Optional ruleset stat-block reference (create). |
scope | string | Optional badge scope (create/update); the Player badge sees shared-scope NPC personality and voice directives. Default game_master. |
source | string | Import provenance URL or description (import_card). |
talkativeness | number | Optional 0-100 social-scene speaking weight; default 50 (create/update). |
manage_staging Scene Staging Management
Manage scene presence, autonomy, and social-cast staging. presence replaces the present set; cast sets the multi-NPC speaker strategy, the mute/unmute pool, and the GM speaker order that next_speaker follows under list; next_speaker runs manual, forced, or pooled selection, where force overrides select; autonomy changes apply to the current scene only. Presence, autonomy, and cast state persist to the Novel and are audited. Use when: setting who is present, adjusting scene autonomy, choosing a speaker strategy, or selecting the next speaker. Do NOT use when: setting the scene, issuing a direct…
| Parameter | Type | Description |
|---|---|---|
action * | string | presence, autonomy, cast, or next_speaker. |
after_user | boolean | Reset the pooled spoken-set for a new user turn (next_speaker). |
confirmation | string | Confirmation mode (autonomy). |
creativity | string | Creativity (autonomy). |
entity_ids | array | Entities present (presence; omit to declare all present, [] to declare none). |
force | string | NPC forced as the next speaker (cast/next_speaker). |
level | string | Autonomy level (autonomy). |
location | string | Scene location (set; presence records it with the declaration). |
mute | string | NPC muted from speaker selection (cast). |
order | array | GM speaker order of NPC ids (cast; the list strategy follows it). |
safety | string | Safety tier (autonomy). |
select | string | NPC selected as the manual speaker (cast/next_speaker). |
strategy | string | Speaker-selection strategy (cast). |
unmute | string | NPC restored to speaker selection (cast). |
manage_countdown Countdown Manager
Manage countdown timers in the active Novel. set accepts a starting tick count and optional total; advance fires the configured world_effect when the countdown reaches its threshold, and on_scene_transition advances it automatically; advancing a faction clock's countdown advances that faction instead. direction shifts NPC dispositions only when scope is also set. remove is GM-only and deletes the timer without firing its world_effect. Mutating actions persist to the Novel and are audited; list is read-only. Use when: starting, advancing, removing, or listing clocks. Do NOT use when: tracking a…
| Parameter | Type | Description |
|---|---|---|
action * | string | set, advance, remove, or list. |
badge_scope | string | Clock visibility (set): game_master hides the clock from the Player badge; shared (default) shows it (REQ-073). |
clock_type | string | Interaction model (set): danger (default), racing, linked, tug_of_war, faction, or mission. |
direction | string | Optional direction: increment or decrement (set). |
due_in_minutes | integer | Minutes from now for an immutable due stamp (set; REQ-666). |
link_countdown | object | Link two existing clocks (set): the child stays locked until the parent fires. |
name | string | Countdown name (set/advance/remove). |
on_scene_transition | boolean | When true, advance on each scene transition (set). |
opposes | string | Opposing clock name for a racing pair (set). |
retreat_countdown | integer | Ticks to retreat on a tug_of_war clock (advance). |
scope | string | Optional scope name (set). |
survival | object | Survival-resource parameters applied when a room hazard names this countdown (set; REQ-622c). |
ticks | number | Starting ticks (set). |
total | number | Optional capacity for decrement refills (set; defaults to ticks). |
triggers | array | Optional world-model triggers (set). |
type | string | round or narrative (set). |
world_effect | object | Optional world-model effect applied when the countdown fires (set). |
manage_lore Lore Management (set/update/remove/list/import, secrets)
Manage canonical shared world facts and secrets — not beliefs, external documents, or scratch notes. set upserts a keyed entry, merging supplied fields into an existing key; update requires an existing key and changes only supplied fields; set_secret, reveal, secret_list, and knowledge control Player-visible facts. import defaults to dry-run; merge overwrites colliding keys and keeps entries not in the import; replace clears first. Triggers fire on scene-text match; sticky counts scenes an entry stays active after its last match. visibility gates Player read access (gm_only default, shared,…
| Parameter | Type | Description |
|---|---|---|
action * | string | set, update, remove, toggle, group, suggest, list, get, export, import, set_secret, reveal, secret_list, or knowledge. |
badge_scope | string | game_master or shared (set/update). |
condition | string | Activation predicate: one comparison 'path op literal' over a closed scalar path — party.size, world.room, world.room_count, world.thing_count, countdown.<name>.remaining, countdown.<name>.total. Or… |
constant | boolean | Always active regardless of triggers, sticky counter, world target, and condition; visibility, presence, and TTRPG_MAX_LORE_TOKENS still apply (set/update; default false). |
content | string | Lore content (set/update). |
data | string | JSON or Markdown lorebook data (import). |
detail | boolean | Return full lore entries instead of summary entries (list). |
entity_id | string | Entity or faction id to reveal to / whose knowledge to read (reveal/knowledge). |
format | string | Optional output format (export). |
group | string | null | Group name, or null to clear (set/update/group). |
key | string | Lore key (set/update/remove/toggle/group/get). |
known_by | array | Entity or faction ids that already know the secret (set_secret). |
mode | string | dry-run, merge, or replace (import). |
priority | number | Optional priority (set/update). |
sticky | number | Optional sticky weight (set/update). |
triggers | array | Optional recall triggers (set/update). |
visibility | string | gm_only (default), shared, or player_discovered — Player read access (set/update; reveal sets player_discovered). |
world_target | string | Optional world-model target reference (set/set_secret). |
manage_condition Condition Management
Manage mechanical or narrative conditions on entities. apply attaches a named condition to one entity; rounds is a positive round count, and omitting it (or passing 0) leaves the condition without an expiry. Re-applying an active condition warns instead of duplicating it, and remove deletes the condition and its round counter. The GM or Editor may act on any entity or NPC; the Player may apply or remove on their own active entity only and is refused on any other. Mutations persist to the Novel, are audited, and are undoable via manage_history (action: undo); list is read-only. Use when: applyi…
| Parameter | Type | Description |
|---|---|---|
action * | string | apply, remove, or list. |
condition | string | The condition name (apply/remove). |
entity_id | string | The entity to affect (apply/remove). |
rounds | number | Optional duration in rounds (apply). |
manage_corpus Knowledge Corpus
Manage external documents and their access state — not Novel lore, beliefs, or derived indexes. corpus_register indexes a document with optional access_public, access_domains, grants, and denies; route derives its domain from a trusted source profile; grant and deny add per-entity decisions, and an explicit deny overrides public, grant, and domain access; access sets an entity's domain profile; consume records a read. Mutating actions persist access state and are audited; list, get, and acquisitions are read-only. Corpus access mutations are undoable; consumption records are append-only. Use…
| Parameter | Type | Description |
|---|---|---|
action * | string | corpus_register, corpus_list, corpus_get, corpus_route, corpus_grant, corpus_deny, corpus_access, corpus_consume, corpus_acquisitions. |
corpus_access_domains | array | Knowledge domains granted access (corpus_register). |
corpus_access_public | boolean | Whether every entity may consume it (corpus_register; default false). |
corpus_body | string | Document reference text (corpus_register). |
corpus_denies | array | Entity ids explicitly denied access (corpus_register). |
corpus_document_id | string | Corpus document id (corpus_get/corpus_route/corpus_grant/corpus_deny/corpus_consume). |
corpus_domain | string | Knowledge domain (corpus_register/corpus_route/corpus_list). |
corpus_domains | array | Knowledge domains the entity may access (corpus_access). |
corpus_entity_id | string | Entity acquiring or inspected (corpus_consume/corpus_acquisitions/corpus_access/corpus_grant/corpus_deny). |
corpus_grants | array | Entity ids explicitly granted access (corpus_register). |
corpus_mode | string | read, research, taught, or import (corpus_consume; default read). |
corpus_source_profile | string | Trusted source profile the domain is routed from (corpus_register; default manual). |
corpus_title | string | Document title (corpus_register). |
manage_faction Faction Management
Manage organizations in the active Novel: create, update, remove, or list factions, each carrying a name, description, goals, resources, optional territory room names, and an optional progress clock. name is required to create and faction_id targets an existing faction; the progress clock is Novel-internal and not set directly, and a faction without one carries goals and resources only. create with goals also creates a Game Master-only countdown mirroring the clock; create, update, and remove require the GM or Editor badge and persist to the Novel; remove deletes the faction and that countdown…
| Parameter | Type | Description |
|---|---|---|
action * | string | create, update, remove, or list. |
description | string | Optional description. |
detail | boolean | Return full faction records instead of summary entries (list). |
faction_id | string | Faction identifier (update/remove). |
goals | array | Optional goals. |
name | string | Faction name (create). |
resources | string | Optional resources. |
territory | array | Optional territory names. |
manage_relationship Relationship Management
Manage directed relationships between entities, NPCs, or factions. set is keyed by the ordered (entity_a, entity_b) pair and updates type, value, or description in place rather than duplicating; type is one of ally, rival, neutral, mentor, dependent, or suspicious, and value is an optional numeric strength. get returns outgoing and incoming edges separately. set requires the GM or Editor badge, persists to the Novel, and is undoable via manage_history (action: undo); get is read-only. Use when: setting or reading how two parties relate. Do NOT use when: tracking faction standing or progress  
| Parameter | Type | Description |
|---|---|---|
action * | string | set or get. |
description | string | Optional description (set). |
entity_a | string | The source entity (set). |
entity_b | string | The target entity (set). |
entity_id | string | Entity whose relationships to list (get). |
type | string | Relationship type (set). |
value | number | Optional relationship strength (set). |
manage_vow Vow Management
Track narrative vows, quests, and obligations with milestones. set creates a vow and suggests a linked mission countdown whose total follows the difficulty track (troublesome 10, dangerous 20, formidable 30, extreme 40, epic 50; scope defaults to shared); accept the suggestion in the briefing to create it empty, and each milestone advances it one tick. resolve requires the rank track complete or the linked clock filled, records consequences as a story-journal entry, and removes the linked clock; forsake abandons the vow and removes the clock. set identifies the vow with name; milestone, resolv…
| Parameter | Type | Description |
|---|---|---|
action * | string | set, milestone, resolve, forsake, or list. |
consequences | string | Optional consequences (resolve). |
description | string | Vow description (set). |
difficulty | string | troublesome, dangerous, formidable, extreme, or epic (set). |
name | string | Vow name (set). |
outcome | string | The resolution outcome (resolve). |
parties | array | Parties bound by the vow (set). |
reason | string | The reason for abandoning (forsake). |
scope | string | game_master, shared, faction, or party (set). |
vow_name | string | Vow name (milestone/resolve/forsake). |
resolve_mechanic Resolve Mechanics
Resolve uncertain actions across the host's base mechanics: Fate Fudge dice, aspects, Fate points, and stress; Ironsworn momentum, moves, and progress; Forged action rolls, stress, trauma, named consequences, and downtime; and generic ruleset table rolls. Rolls and state changes persist to the Novel and are audited; a roll with no following write is flagged as an uncommitted roll. Revert the most recent mutation with manage_history (action: undo). fate_roll uses dF, ironsworn_move compares an action die against two challenge dice, and forged_action_roll takes the highest of a d6 pool. Use when…
| Parameter | Type | Description |
|---|---|---|
action * | string | roll (ruleset table), fate_* (Fate), ironsworn_* (Ironsworn), or forged_* (Forged in the Dark). |
adds | number | Stat and bonuses added to the action die (ironsworn_move). |
amount | number | Fate points (fate_point), stress (fate_stress, forged_stress, forged_downtime), or momentum (ironsworn_momentum); defaults to 1. |
burn | boolean | Burn momentum to replace the action score (ironsworn_move). |
consequence | string | Consequence to record or clear (fate_stress). |
cost | number | Stress cost to resist (forged_stress); defaults to 2. |
dice | string | number | Fudge dice notation (fate_roll) or dice pool size (forged_action_roll). |
difficulty | number | Opposition to beat (fate_roll); defaults to 0. |
effect | string | Effect (forged_action_roll); defaults to standard. |
entity_id | string | Entity or NPC id (fate_aspect, fate_point, fate_stress, ironsworn_momentum, ironsworn_move, forged_stress, forged_downtime). |
modifier | number | Skill rating added to the roll (fate_roll). |
name | string | Aspect name, progress-track name, move name, action name, or named consequence (fate_stress, forged_stress). |
op | string | Sub-operation for aspect, fate_point, stress, momentum, progress, or downtime. |
position | string | Position (forged_action_roll); defaults to risky. |
rank | string | Progress-track rank (ironsworn_progress). |
seed | string | Deterministic seed (fate_roll, ironsworn_move, ironsworn_progress, forged_action_roll, roll). |
shifts | number | Shifts to mark on a stress track (fate_stress); defaults to 1. |
skill | string | Skill name for the roll label (fate_roll). |
slug | string | Ruleset slug for a Novel-independent roll (roll). |
table | string | Generation table to roll on (roll). |
target | string | Aspect target: 'scene' or an entity/NPC id (fate_aspect); defaults to 'scene'. |
ticks | number | Progress to mark (ironsworn_progress); defaults to 1. |
track | string | Stress track to mark or clear (fate_stress). |
manage_story Story Journal Management
Manage the story journal — typed narrative memories (decision, moment, revelation, bond, consequence). record requires the turn_handle minted by take_turn, appends an entry, and consumes the handle on success; update edits a mutable entry; decision and consequence entries are immutable and refuse update or promotion; remove deletes an entry by index; promote copies an entry into lore under a derived or supplied key. list filters by type and paginates with offset and limit, returning previews unless detail is set. Mutations require the GM or Editor badge, persist to the Novel, and are undoabl…
| Parameter | Type | Description |
|---|---|---|
action * | string | record, update, remove, list, or promote. |
detail | boolean | Return full entries instead of previews (list). |
entry | string | Story entry text (record/update). |
filter | string | Optional type filter (list). |
index | number | Story entry index (update/remove/promote). |
key | string | Optional lore key (promote). |
limit | number | Optional page size (list). |
offset | number | Optional pagination offset (list). |
turn_handle | string | Turn handle minted by take_turn (required for record); consumed on success. |
type | string | Story entry type (record/update). |
manage_note Note Management
Manage Novel-scoped scratch notes — not durable lore, external documents, or derived indexes. Notes are badge-scoped to game_master (default), player, or shared; set replaces the note content; badge_scope defaults to game_master and controls which badge can read it; remove deletes one note, and the Player badge cannot remove a game_master note; list hides game_master notes from non-GM badges. set_server stores a GM-only server-level note with an optional narrative_tag; remove_server deletes it; list_server returns summaries unless detail is set. Novel note mutations persist, are audited, and…
| Parameter | Type | Description |
|---|---|---|
action * | string | set, remove, list, set_server, remove_server, or list_server. |
badge_scope | string | game_master, player, or shared (set). |
content | string | The note content (set/set_server). |
detail | boolean | Return full server notes instead of summary entries (list_server). |
key | string | The note key (set/remove/set_server/remove_server). |
narrative_tag | string | Optional narrative tag (set_server). |
manage_belief Belief Management (evidence, stances, memory, queries)
Manage per-entity evidence, belief stances, and memory — not objective truth, shared lore, or derived indexes. list, get, evidence, conflicts, perception_list, subjective_list, subjective_verify, and knowledge_query read; admit, retract, reconcile, perception_record, subjective_record, subjective_recall, and subjective_disclose write. admit records a weighted proposition; reconcile recomputes stances; retract needs the admit evidence_id; ledgers are append-only; each memory carries an open/guarded/secret disclosure level gating Player reads; subjective_verify returns each memory with its div…
| Parameter | Type | Description |
|---|---|---|
action * | string | Belief: list, get, evidence, admit, retract, conflicts, or reconcile. Perception ledger: perception_record, perception_list, perception_for_entity, or perception_for_event. Subjective memory: subjecti… |
detail | boolean | Return full belief records instead of summary entries (list). |
entity_id | string | Entity whose beliefs are queried or mutated. |
evidence_id | string | Evidence record id (retract). |
object | string | Proposition object (admit). |
perception_confidence | number | 0..1 confidence (perception_record; default 0; REQ-594). |
perception_entity_id | string | Entity that perceived (perception_record/perception_for_entity). |
perception_event_ordinal | number | Contributing event-log ordinal (perception_record/perception_for_event; defaults to the latest event). |
perception_kind | string | message, scene, or observation (perception_record; default observation). |
perception_room_id | string | Room identifier for the perception (perception_record; defaults to the entity's room). |
perception_sense | string | Sense that produced the perception (perception_record; default null; REQ-594). |
perception_source_entity | string | Entity the perception came from (perception_record; default null). |
perception_summary | string | What was perceived (perception_record). |
perception_witness | string | Witness kind (perception_record; default inferred; REQ-594). |
polarity | string | positive or negative (admit). |
predicate | string | Proposition predicate (admit). |
question | string | Belief question key, or subject|predicate|object (get/evidence). |
source | string | Source key used to correlate duplicate evidence (admit; default the active badge). |
source_ordinal | number | Contributing event-log ordinal (admit; default the latest event ordinal). |
status | string | active, unresolved, or suppressed (admit; default active). |
subject | string | Proposition subject (admit). |
subjective_disclosure | string | Who may see the memory: open (quotable), guarded (gist only), or secret (never quoted) (subjective_record; default secret; subjective_disclose; required). |
subjective_entity | string | Entity that remembers, by id or name (subjective_record; filter for subjective_list). |
subjective_event_ordinal | integer | Contributing event-log ordinal, a non-negative integer (subjective_record; defaults to the latest event). |
subjective_felt_then | string | The entity's affect at the event (subjective_record). |
subjective_gist | string | What the entity remembers, in its own terms (subjective_record). |
subjective_object | string | Claim object (subjective_record). |
subjective_origin | string | How the memory arose (subjective_record; default authored; REQ-623). |
subjective_polarity | string | Claim polarity (subjective_record; default positive). |
subjective_predicate | string | Claim predicate (subjective_record). |
subjective_record_id | string | Memory record id to reclassify, e.g. sm-3 (subjective_disclose). |
subjective_salience | number | 0..1 salience (subjective_record; default 0.5). |
subjective_subject | string | Claim subject (subjective_record). |
topic | string | Optional topic filter applied to knowledge_query perceptions, beliefs, and secrets. |
weight | number | Evidence support weight 0..1 (admit; default 1). |
manage_identity Identity Management
Manage a character's durable identity: staged candidates, accepted facets, and the versioned compiled kernel. A Novel entity or NPC uses the Novel-tier identity map; a roster-only character uses its roster baseline. stage imports or authors identity material with a psyche kind, self-awareness, optional false-but-held belief, valence, date bounds, and contradiction links; accept replaces a facet, retains the displaced value, and bumps the version; reject marks a candidate rejected; revert restores the most recently displaced facet; bootstrap seeds from a character card. Mutation persists to the…
| Parameter | Type | Description |
|---|---|---|
action * | string | stage, accept, reject, revert, list, snapshot, or bootstrap. |
character_id * | string | Character id: a Novel entity, NPC, or roster character. |
awareness | string | Whether the character knows this about itself (stage; default yes). |
candidate_id | string | Identity candidate id (accept/reject). |
card | object | Character-card fields to stage (bootstrap). |
contradicts | array | Facet keys a contradiction facet holds in tension (stage). |
facet | string | Identity facet key, e.g. name or calling (stage). |
false_but_held | boolean | Belief kind only: the character holds it and it is false (stage). |
kind | string | Psyche kind (stage; default fact). |
perspective | string | self, biographical, public_reputation, secret, or unknown (stage/accept; default self). |
since | string | ISO date the facet began (stage). |
source | string | Provenance label for the candidate (stage; default manual). |
stability | string | structural, constitutional, core, or developmental (stage; default core). |
until | string | ISO date the facet ended (stage). |
valence | integer | Stance or taste kind only: hostile (-100) to warm (+100) (stage). |
value | string | Identity facet value (stage). |
manage_knowledge Derived Knowledge (index, graph, search, neighbors)
Manage derived, non-authoritative indexes and graphs over Novel sources — not canonical facts, beliefs, or external documents. index_build and graph_build are audited, replace the prior projection in one step, and do not persist a separate copy; both are safe to rebuild from the authoritative Novel file, which is never modified. Search and neighbor reads require the matching build and return one hop of edges or ranked candidates (limit defaults to 5); rebuild after editing or restoring the Novel. The read actions never mutate state. Use when: building or rebuilding the index or graph, checki…
| Parameter | Type | Description |
|---|---|---|
action * | string | index_* actions operate the semantic index; graph_* actions operate the knowledge graph. |
item_id | string | Indexed item id to filter relations (index_relations). |
limit | number | Maximum candidates to return (index_search; default 5). |
node_id | string | Graph node id (graph_neighbors). |
query | string | Query text to rank candidates against (index_search). |
manage_agent Agent Task Management
Manage durable NPC/agent tasks and their action lifecycle. create reads goal and optional source_goal; advance requires task_id and appends description; complete, fail, and cancel require task_id, settle the task without deleting it, and terminal tasks are immutable; autonomy defaults to TTRPG_AGENT_AUTONOMY. Mutating actions persist to the Novel and are audited; list/get are read-only. Use when: creating, starting, advancing, settling, or inspecting tasks. Do NOT use when: surfacing an advisory suggestion — use manage_scene (action: oracle); managing NPC identity — use manage_npc. Revert…
| Parameter | Type | Description |
|---|---|---|
action * | string | create, list, get, start, advance, complete, fail, or cancel. |
autonomy | string | advisory, prompt, or auto (create; default the TTRPG_AGENT_AUTONOMY setting). |
description | string | Action description (advance). |
detail | boolean | Return full agent tasks instead of summary entries (list). |
goal | string | Task goal text (create). |
source_goal | string | Originating goal-pursuit suggestion (create). |
subject | string | Entity or NPC that owns the task (create/list). |
task_id | string | Task id (get/start/advance/complete/fail/cancel). |
manage_context Context Controls
Manage play-facing context controls: recap, verbosity, briefing_order, and tool discovery, distinct from story content and Novel lifecycle. recap returns a typed structured result (spans, entities, confrontations, scene, lore, changes, rolls, story) alongside its text, and 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 a…
| Parameter | Type | Description |
|---|---|---|
action * | string | recap, verbosity, briefing_order, or discover. |
budget_tokens | number | Positive token budget for tier assembly (recap; REQ-592) or for ledger packing (context_report; REQ-610). |
detail | string | discover response detail: summary (default) or schema (live input schemas for the matches; requires query; REQ-609). |
format | string | Recap/compress output notation (recap, compress; default markdown; REQ-072g). |
gm_notes | string | GM-only free-text notes returned only to the Game Master badge (recap). |
max_rolls | number | Significant rolls to return, bounded 1–50 (recap; default 5; REQ-072e). |
max_transitions | number | Scene transitions to return, bounded 1–20 (recap; default 5; REQ-072e). |
mode | string | normal or terse (verbosity). |
query | string | Optional search term matched against tool name, description, and title (discover). |
sections | array | Ordered list of briefing sections (briefing_order). |
session_id | string | Archived session id to include in recap (recap). |
tier | string | Compression tier to assemble (recap; REQ-592). |
manage_diagnostics Session Diagnostics (health, compact, event log, verify)
Manage session diagnostics and maintenance surfaces separate from play-facing session controls. compress summarizes the audit log while compact prunes it irreversibly; verify compares live state with recorded hashes and replay reads the retained log, and both are read-only; context_report emits a per-section token ledger and accepts budget_tokens to pack it; visibility_check records its decision in the audit log while visibility_audit reads recent decisions; health, subscribe, and category reassignment do not change Novel content. compact is GM-only. Use when: reporting health or context size,…
| Parameter | Type | Description |
|---|---|---|
action * | string | health, context_report, compress, compact, subscribe, category, event, history, verify, replay, visibility_check, or visibility_audit. |
audience | string | Audience badge for a visibility check (visibility_check; default the active badge). |
budget_tokens | number | Positive token budget for tier assembly (recap; REQ-592) or for ledger packing (context_report; REQ-610). |
category | string | null | New category label, or null/empty to restore the default (category). |
detail | string | discover response detail: summary (default) or schema (live input schemas for the matches; requires query; REQ-609). |
format | string | Recap/compress output notation (recap, compress; default markdown; REQ-072g). |
gm_notes | string | GM-only free-text notes returned only to the Game Master badge (recap). |
include_superseded | boolean | Include superseded events (history; default true). |
max_entries | number | Positive integer; returns a non-mutating summarize prompt over the most recent entries (compress). |
max_rolls | number | Significant rolls to return, bounded 1–50 (recap; default 5; REQ-072e). |
max_transitions | number | Scene transitions to return, bounded 1–20 (recap; default 5; REQ-072e). |
mode | string | normal or terse (verbosity). |
ordinals | array | Exact event ordinals to return in order (history; REQ-591). |
query | string | Optional search term matched against tool name, description, and title (discover). |
sections | array | Ordered list of briefing sections (briefing_order). |
session_id | string | Archived session id to include in recap (recap). |
sessions | number | Number of recent sessions to retain live; triggers irreversible compaction (compact; default TTRPG_AUDIT_RETENTION_SESSIONS). |
source | string | Event source classification (event). |
supersede | number | Ordinal of an event this observation replaces (event). |
text | string | Observation text (event). |
through_ordinal | number | Return events up to and including this ordinal (history). |
tier | string | Compression tier to assemble (recap; REQ-592). |
to_event | number | Target event ordinal for replay inspection (replay; default the newest retained entry). |
tool_name | string | Registered tool name to reassign (category). |
topics | array | Notification topics to subscribe to (subscribe). |
manage_adventure Adventure Management
Generate, load, or list adventure content. generate writes a scaffold to target — novel, codex, or both (default novel when one is active, else codex) — using premise; a !force prefix overrides the generation guard. generate_encounter writes one encounter to the Novel using context. Both persist, appear in the audit log, and the most recent write is undoable via manage_history (action: undo). load activates an indexed module in the Novel, or stores its scaffold in the Codex with target: codex (no Novel required); list is read-only and accepts an optional genre filter. `target` is this tool…
| Parameter | Type | Description |
|---|---|---|
action * | string | generate, generate_encounter, load, or list. |
context | string | Scene context (generate_encounter). |
filter | string | Optional genre filter (list). |
premise | string | Adventure premise (generate). |
slug | string | Adventure module slug (load). |
target | string | novel, codex, or both (generate); novel or codex (load). |
manage_novel Novel Save Management (create/resume/end, save context)
Manage a Novel's save-file lifecycle: create, resume, switch, end, rename, describe, set genre, list, save/get play context, and record provenance. list returns one line per Novel unless detail is set, and filter selects active, archived, or all. create, save_context, and provenance persist; list, info, and get_context are read-only. Lifecycle changes are not reversible via manage_history, so clone a Novel before a risky change. Use when: handling a campaign's lifecycle or returning to saved context. Do NOT use when: managing content inside the Novel — use manage_scene.
| Parameter | Type | Description |
|---|---|---|
action * | string | create, resume, switch, end, export, import, rename, description, list, archive, unarchive, info, genre, complete_session_zero, clone, branch, save_context, get_context, checkpoint_set, checkpoint_lis… |
attribution | string | Source attributed on the Novel's provenance record (provenance). |
codex_adventure | string | Codex adventure to seed from (create). |
creator | string | Creator attributed on the Novel's provenance record (provenance). |
current_scene | string | Current-scene summary (save_context). |
data | string | Exported Novel JSON (import). |
description | string | Description (create/description). |
detail | boolean | Return full metadata (list). |
filter | string | active, archived, or all (list). |
format | string | Output format (export). |
from_event | number | Event-log ordinal to branch from (branch; default latest). |
genre | string | Genre tag (create/genre). |
immediate_situation | string | Immediate situation (save_context). |
include_checkpoints | boolean | Include checkpoints in export (default false; export). |
label | string | Checkpoint label (checkpoint_set/list/restore/remove). |
license | string | License declared on the Novel's provenance record (provenance). |
long_term_plans | string | Long-term plans (save_context). |
mode | string | dry-run, merge, or replace (import). |
name | string | Novel name (create). |
new_name | string | Name for the copy or branch (clone/branch). |
new_slug | string | New slug (rename). |
pending_player_action | string | Pending player action (save_context). |
player_goals | string | Player goals (save_context). |
ruleset | string | Ruleset slug (create). |
scope | string | Export scope (export). |
share | boolean | Emit a portable full-scope bundle with embedded adventure content (export; JSON only). |
short_term_plans | string | Short-term plans (save_context). |
slug | string | Novel slug (resume/switch/archive/unarchive/info). |
source_slug | string | Novel to copy or branch from (clone/branch). |
strict | boolean | Fail on any cross-reference mismatch (import). |
trim_audit_sessions | number | Keep only the most recent N sessions' audit entries in the clone (clone; default full copy). |
manage_ruleset Ruleset Package Management
Manage ruleset packages: search an installed ruleset's index, install or remove a package, list installed packages, bind a Novel to a ruleset, or import/remove supplementary Wisdom. search accepts an optional slug, works with no active Novel, and is read-only; install, remove, import_supplementary, and remove_supplementary mutate state, are audited, and are reversible via the paired action. install of an existing slug conflicts, and remove refuses while a Novel is bound to that slug. binding scopes only Novel-dependent features; import_supplementary uses inline wisdom when present and reads so…
| Parameter | Type | Description |
|---|---|---|
action * | string | search, install, remove, list, bind, import_supplementary, or remove_supplementary. |
context | string | Which store to act on: a ruleset lookup resolves to reference; an explicit value wins over the active Novel. |
index | Search index (install). | |
manifest | Package manifest (install). | |
max_results | number | Maximum results (search). |
model | Extraction model (install). | |
prompts | Prompts (install). | |
query | string | Search query (search). |
resources | Resources (install). | |
seed | string | Deterministic seed (roll). |
slug | string | Ruleset slug (install/remove/bind/import_supplementary/remove_supplementary). |
source | string | Supplementary Markdown source path (import_supplementary). |
table | string | Generation table to roll on (roll). |
tools | Tool schemas (install). | |
wisdom | array | Inline supplementary Wisdom items (import_supplementary). |
manage_archive Novel Archive Management (export/import, clone, checkpoints)
Export, import, archive, unarchive, clone, branch, and checkpoint Novel save files. export writes a file in json or markdown; share emits a portable full-scope json bundle with embedded adventure content; import writes Novel state and mode selects dry-run (validate only), merge (keep existing entries), or replace (discard current Novel state), while strict aborts on unresolved references. clone copies the whole Novel unless trim_audit_sessions keeps only recent sessions; branch starts from from_event (default latest); archive is reversible with unarchive; checkpoint_restore replaces the live N…
| Parameter | Type | Description |
|---|---|---|
action * | string | export, import, archive, unarchive, clone, branch, checkpoint_set, checkpoint_list, checkpoint_restore, checkpoint_remove. |
data | string | Exported Novel JSON (import). |
format | string | Output format (export). |
from_event | number | Event-log ordinal to branch from (branch; default latest). |
include_checkpoints | boolean | Include checkpoints in export (default false; export). |
label | string | Checkpoint label (checkpoint_set/list/restore/remove). |
mode | string | dry-run, merge, or replace (import). |
new_name | string | Name for the copy or branch (clone/branch). |
scope | string | Export scope (export). |
share | boolean | Emit a portable full-scope bundle with embedded adventure content (export; JSON only). |
slug | string | Novel slug (resume/switch/archive/unarchive/info). |
source_slug | string | Novel to copy or branch from (clone/branch). |
strict | boolean | Fail on any cross-reference mismatch (import). |
trim_audit_sessions | number | Keep only the most recent N sessions' audit entries in the clone (clone; default full copy). |
manage_artifact Local Artifact Registry
Manage the host registry of shareable artifacts — Novel packs, adventures, rulesets, and codex packs — exchanged offline through an inbox. list and verify are read-only. install copies a verified artifact into its kind directory and audits it; ruleset tools become callable after restart. remove is permanent (no undo), rebuilds ruleset prompts, and refuses while a Novel depends on it. install/remove need the GM badge and record a security event, and install refuses a hash/provenance mismatch, a mismatched slug, or an existing slug; slug names remove/verify and must match the artifact's slug…
| Parameter | Type | Description |
|---|---|---|
action * | string | list, install, remove, or verify. |
integrity | string | Integrity filter: verified, unverified, or absent (list). |
kind | string | Artifact kind; filters list and targets install/remove/verify. |
slug | string | Artifact slug (remove/verify); on install it must match the artifact's own slug, and a pack without one adopts it. |
source | string | Inbox-relative Novel pack (.json), adventure module (.md), ruleset package directory, or codex pack (.json) to install (install). |
manage_codex Codex Library Management
Manage the server-level library of reusable, cross-Novel content — stored entries, not generated synthesis or Novel-scoped lore. Entries cover NPCs, characters, scenes, encounters, lore, factions, rooms, things, templates, voice profiles, and adventures; they persist to `.holonovel-state/codex.json`, survive restarts; imports into an active Novel are audited. Requires the Editor or Game Master badge; reads are not badge-filtered. With no Novel active, the codex is the default store; `import`/`capture` need an active Novel. `set` needs `kind` + `name` (the id derives from them); merge=true sh…
| Parameter | Type | Description |
|---|---|---|
action * | string | set (create/update), list, get, capture (Novel artifact per kind), import (into active Novel), export (the library as one interchange payload), or delete. |
content | Entry content (for set); when omitted on an existing entry, the stored content is preserved. | |
context | string | Which store to act on: the codex answers set/list/get/export/delete; capture and import need an active Novel. |
description | string | Optional description (for set). |
entity_id | string | Entity whose voice to capture (for capture, voice_profile kind). |
entry_id | string | Entry identifier (for get/import/delete); alias of `id`. |
id | Entry identifier or array of identifiers (for import/get/delete). | |
kind | string | Entry kind (for set/list/capture). |
merge | boolean | For set: when true and the entry exists, shallow-merge the provided content into the stored content instead of replacing it. |
name | string | Entry name (for set). |
ruleset | string | Ruleset slug (for set/list); set defaults to the active Novel's scope, list returns matching plus untagged entries. |
source_id | string | Novel artifact key/name/entity id to capture (for capture). Defaults per kind. |
tags | array | Optional tags (for set). |
update_source | boolean | When true, update the source Codex entry in place (for capture). |
manage_synthesis Synthesis Management (run/revert, toggle, rulings)
Manage generated synthesis content (voice examples, lore templates, action patterns) — not the stored codex library. Mutating actions (run, revert, activate, deactivate, toggle, toggle_action, player_add, player_remove, record_ruling, revert_ruling) persist to the Novel and are audited; read-only actions (list, player_list, verify) do not mutate state. verify checks each item's stored citation locally and reports pass/weak/unsupported; it never fetches and never changes state. record_ruling writes a ruling and its verified citations to the GM-only ruling ledger; revert_ruling marks a ledger…
| Parameter | Type | Description |
|---|---|---|
action * | string | run, revert, list, activate, deactivate, toggle, toggle_action, player_add, player_remove, player_list, verify, record_ruling, revert_ruling, or ruling_list. |
badge_scope | string | shared or player (player_add). |
content | string | Item content (player_add). |
detail | boolean | Return full entries (list). |
enabled | boolean | Enable or disable (toggle). |
force | boolean | Re-run even if unchanged (run). |
include_reverted | boolean | Include reverted rulings (ruling_list; default false). |
key | string | number | Item key (activate: number; player_add/player_remove/verify/record_ruling: string). |
max_entries | integer | Maximum rulings to return, newest first (ruling_list; default 20). |
module | string | Synthesis module (activate/deactivate/toggle/player_*/list/verify/record_ruling). |
query | string | Question the ruling answers (record_ruling). |
ruling | string | Ruling text to record (record_ruling). |
ruling_id | string | Ledger entry id (revert_ruling). |
triggers | array | Recall triggers (player_add). |
open_session Open Play Session
Open a play session by resuming a Novel, activating a badge, and returning a recap. novel selects the slug and badge the seat; both are optional and fall back to the active Novel and current badge. With no novel and no active Novel, it resumes the only Novel on the server (on a fresh install, the seeded starter), and refuses naming the available slugs when several exist. resume closes the current session window, switches the active Novel, and increments its session count; a badge change persists, is audited, and re-filters tools/list immediately; neither deletes prior Novel state. Session and…
| Parameter | Type | Description |
|---|---|---|
badge | string | Badge to activate (open_session). |
novel | string | Novel slug to resume (open_session). |
close_session Close Play Session
Close a play session by returning a recap and saving the current context. The close seals the session's recap and saved context but does not archive or export the Novel; resume it later with open_session. Context and recap state persist and are audited; revert with manage_history (action: undo). Use when: ending a session or checkpointing the narrative context. Do NOT use when: archiving or exporting a Novel — use manage_archive.
take_turn Take Play Turn
Resolve a player intent through the parser and mint a turn handle for the story record. intent is free text parsed by the command resolver; entity_id optionally scopes the parse to the acting entity. The turn itself mutates no Novel state; the handle is session-scoped, single-use, required by manage_story (action: record), and consumed only when the record succeeds. An unconsumed handle surfaces as [unrecorded-turn] in the recap and at close while the process is alive; a restart keeps no open turn. Repeated calls mint fresh handles rather than resuming the prior one. Use when: taking a turn be…
| Parameter | Type | Description |
|---|---|---|
intent * | string | Player intent to resolve (take_turn). |
entity_id | string | Acting entity id (take_turn). |