Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Command · behavior

behavior.var.set

Set or clear a variable's default value expression.
scope edit:scenenot idempotentnon-destructive

Params

Typed as BehaviorVarParams. Fields marked * are required.

name*

string
Variable name.
required

default

option<string>
Default expression; absent clears it.
default null

Examples

JSON (MCP ara_apply, batches)

{
  "cmd": "behavior.var.set",
  "args": {
    "name": "alert",
    "default": "0.5"
  }
}

CLI

ara do behavior.var.set --args '{"name":"alert","default":"0.5"}' --why "…"