Lore Management
manage_loreCreate, update, remove, group, list, export, or import shared lore entries for the active Novel; changes persist and can be undone.
Instructions
Manage the active Novel's lore entries — shared, durable world facts every caller recalls. Mutating actions persist to the Novel and are audited; read-only actions do not mutate state. Revert the most recent mutation with manage_history (action: undo). import defaults mode to dry-run; merge or replace writes. Use when: creating, revising, removing, toggling, grouping, suggesting, listing, exporting, or importing lore. Do NOT use when: recording a story beat — use manage_story (action: record); recording one entity's beliefs — use manage_belief; recording one entity's perceptions — use manage_perception.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Lore key (set/update/remove/toggle/group/get). | |
| data | No | JSON or Markdown lorebook data (import). | |
| mode | No | dry-run, merge, or replace (import). | |
| group | No | Group name, or null to clear (set/update/group). | |
| action | Yes | set, update, remove, toggle, group, suggest, list, get, export, import, set_secret, reveal, secret_list, or knowledge. | |
| format | No | Optional output format (export). | |
| sticky | No | Optional sticky weight (set/update). | |
| content | No | Lore content (set/update). | |
| priority | No | Optional priority (set/update). | |
| triggers | No | Optional recall triggers (set/update). | |
| entity_id | No | Entity to reveal to / whose knowledge to read (reveal/knowledge). | |
| badge_scope | No | game_master or shared (set/update). | |
| world_target | No | Optional world-model target reference (set/set_secret). |
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). |