SillyTavern World Info, lorebook, and JSON structure (example)
If you are searching for a SillyTavern World Info lorebook JSON structure example, you are usually doing one of two things:
- Understanding the Character Card file — where
character_bookstores embedded lore as JSON. - Comparing that to “World Info” in the UI — how imports, budgets, and triggers behave depends on your SillyTavern build.
This note gives a compact mental model and points to the canonical field guide for real keys and edge cases.
Lorebook, World Info, and character_book
Community talk often mixes terms:
- Lorebook: keyword-triggered snippets that can be stitched into the prompt.
- World Info: SillyTavern UI language for world-scoped or global lore (not always the same storage as a single card).
- Character book: in Character Card V2, lore embedded in the card under
character_book, so users do not need a separate world file for that slice of lore.
The JSON structure you care about in a .png / exported card is the character_book object: outer book fields plus an entries array. Each entry has keys, content, toggles like enabled, and ordering fields such as insertion_order and priority.
For a full SillyTavern lorebook JSON structure example with those keys explained one by one, use the dedicated article below — it matches the CharacterBook shape and warns where frontends differ.
Where to read the full spec (recommended)
Primary guide: Lorebook: character_book and entries — part 4 of the Silly Tavern character card field series, with a tiny illustrative JSON sample and a table of entry fields (keys, content, selective, secondary_keys, position, etc.).
Start there if you are editing JSON by hand or checking an export.
Related articles (popular on this site)
These pages rank well for beginners and pair naturally with lorebook work:
- SillyTavern Lorebook vs Character Card: what is different? — what belongs on the card vs in lore-style entries.
- Chub.ai: system prompt and character book (lorebook) basics — how community tools map to
character_bookand exports. - (1/5) What’s in the file? spec, data, and metadata — top-level Character Card JSON before you dive into books.
Series navigation
This site’s field-by-field set is meant to be read in order; part 4 is the lorebook chapter.
Go to: (4/5) Lorebook: character_book and entries
Edit character_book in PNG-backed cards on Mac with Sillycard.