Skip to main content
Use {{ ... }} inside strings to render values. Only double braces trigger interpolation; single braces are treated as literal text.
References inside interpolation are validated the same way as references elsewhere.

Single braces are literal

Single { ... } characters are passed through as-is. This makes it easy to embed JSON or other brace-heavy content in strings without escaping:
In the example above, { and } around the JSON are literal text, while {{ input.name }} is interpolated.

Multiline strings

Use triple quotes for multiline instructions while still using interpolation:

Interpolating agent outputs

Prefer focused instructions that reference structured values rather than copying large payloads into one string.