guide.roleplay.st • OFFICIAL SPECIFICATIONS

SillyTavern Open Standards & Developer Specifications

Official technical reference documentation for character card specifications, JSON schema standards, prompt grammars, and engine integration rules.

CORE SPEC V2.0

SillyTavern V2 Open Specification Standard

Complete JSON schema definition, root keys (spec, spec_version, data), system prompt injection, and alternate greetings array.

VERIFIED STANDARD Read Spec
PROMPT GRAMMAR

W++ Trait Grammar & Attribute Formatting

Syntax guidelines for bracketed character definitions [Mind(...)], attributes, and zero-drift prompt structures.

VERIFIED STANDARD Read Spec
INFRASTRUCTURE

Tokenizer Gauge & Context Window Budgeting

Mathematical token estimation rules, BPE tokenization budgeting, and context window compression strategies.

VERIFIED STANDARD Read Spec
Direct Deep-Linking Architecture

Any external application or gallery (including roleplayst.com) can deep-link directly to specific developer specifications, such as https://guide.roleplay.st/v2-spec or endpoint docs at https://api.roleplay.st/docs.