Raita logo

Prompt Variables Reference

Complete reference for all variables supported in Raita prompt fields.


Common Variables

Available in all modes and all stages.

VariableReplaced withNotes
{topic}Article Worker's topic field
{keyword}Same as {topic}Alias
{niche}Worker's niche field
{language}Worker's language field
{topicQueryParam}URL-encoded {topic}Used internally by search macros

Blaze Mode Variables

Available only in Blaze mode, at the stage indicated.

VariableStageReplaced with
{title}Detail, Meta, Opening, ClosingGenerated article title
{lsi}DetailGenerated section list (newline-separated headings)
{outline}DetailSame as {lsi}
{section}DetailCurrent section heading being generated
{subtopic}DetailCurrent subtopic within the section
{index}DetailSection index (0-based integer)
{item}DetailCurrent item from the outline list
{internal_links}DetailGenerated internal link HTML
{internalLinks}DetailSame as {internal_links} (alias)

Compose Mode Variables

VariableReplaced withNotes
{title}Generated article titleOnly if title prompt is configured
{index}Section index (0-based integer)
{internalLink}One internal link anchor tagFrom internal link target list
{random5InternalLink}5 randomly selected internal link anchor tagsFrom internal link target list
{chain}All previously generated sections concatenatedSequential (chained) mode only

Special Flags

FlagModeEffect
{debug}SimpleMust appear at the start of the prompt. Returns the fully injected prompt text without calling the AI model
{webSearch}AllEnables provider-level web search (see AI Provider Setup)
{imagegen}AllTriggers image generation for this article

Notes

  • Variables are case-sensitive. {topic} works; {Topic} does not.
  • Unresolved variables are left as literal text in the prompt.
  • {internalLinks} / {internal_links} that reach the scraper expansion layer unresolved are stripped.