Read brand runtime
brand_runtimeRetrieve sliced brand context (colors, fonts, tone) from the compiled runtime contract so AI agents produce on-brand output while keeping prompt tokens low.
Instructions
Read the compiled brand runtime contract (brand-runtime.json). Returns the brand system that AI agents load as context for on-brand output. Supports slicing: 'full' (~1200 tokens, everything), 'visual' (~200 tokens, colors + fonts + anti-patterns), 'voice' (~400 tokens, tone + vocabulary + perspective), 'minimal' (~100 tokens, primary color + heading font). Use slices when passing brand context to sub-agents — smaller context reduces token cost and agent satisficing. Live Mode aware: when enabled via brand_brandcode_live, the runtime refreshes from the hosted Brandcode runtime on each call (subject to cache TTL). Falls back silently to the local mirror on network error. Read-only. Run brand_compile to refresh.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slice | No | Which slice of the runtime to return. 'full': everything (~1200 tokens). 'visual': colors, typography, logo, anti-patterns, composition (~200 tokens). 'voice': tone, vocabulary, never-say, perspective (~400 tokens). 'minimal': primary color, heading font, logo reference only (~100 tokens). Use slices to reduce prompt size when handing off to sub-agents that only need part of the brand. | full |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| runtime | No | ||
| approval | No | ||
| _metadata | Yes | ||
| agent_tip | No | ||
| runtime_origin | No |