External sub-processes can push native decoupled key-value tokens into the memory workspace pool. Once injected, users can embed these entities anywhere inside chat templates or custom redeems layouts using the dynamic brace syntax schema {variable_name}:

{
  "type": "set_global_variable",
  "payload": {
    "variable_name": "diapstash_product",
    "variable_value": "SUNKISS Masterpiece (Blue)"
  }
}

Variable Parameter Mapping Specifications

JSON KeyTypeAllocation Specification Definition
typestringMust equal 'set_global_variable' strictly to execute dictionary updates.
payload.variable_namestringThe key identifier token string. Registered targets are cross-parsed anywhere across layout strings via bracket encapsulation.
payload.variable_valuestringThe concrete text sequence that dynamically substitutes matched database target identifiers when templates evaluate.