Skip to main content

State Variables

Complete list of all variables available in prompt templates.

Spec variable

Step output variables

Available after the referenced step has executed. No steps. prefix.

Task variables (each block)

Retry variables

Sub-workflow variables

Scope resolution

Strict: step local → each scope → workflow scope. Ambiguity = dry-run error.

Template escaping

Empty variables on a line alone → line removed.