brand_brandcode_live
Control live mode to route read-only brand tools through the hosted runtime or fall back to local mirror, with configurable cache TTL for fresh data.
Instructions
Enable, disable, or inspect Live Mode on the Brandcode Studio connector. When ON, read-only tools (brand_runtime, brand_check, brand_audit_content, brand_check_compliance, brand_preview, brand_status) refresh from the hosted runtime on each call, within a short cache TTL (default 60s). Governance edits in Brand Console propagate on the next call without a manual sync. Requires a prior brand_brandcode_connect and brand_brandcode_auth. Use when the user says "go live", "enable live mode", "turn off live mode", "is live mode on?", or "make brand reads live". Returns the current mode, cache freshness, and sync token. Network failures during live reads silently fall back to the local mirror.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "on" routes read tools through the hosted runtime. "off" returns to local-mirror reads. "status" (default) reports current live-mode state and cache freshness. | status |
| cache_ttl_seconds | No | Optional. When turning on, override the per-call cache TTL. Default 60s. Lower = fresher, higher = less load. |