Command · behavior
behavior.rename
Rename a state, variable or query, keeping its identity and rewriting references.
scope edit:scenenot idempotentnon-destructive
Params
Typed as BehaviorRenameParams. Fields marked * are required.
from*
stringExisting name.
required
to*
stringNew unique name.
required
restoreId
option<string>After a plain-text rename (delete + create): the deleted node's ID, to restore.
default null
Examples
JSON (MCP ara_apply, batches)
{
"cmd": "behavior.rename",
"args": {
"from": "Idle",
"to": "Rest"
}
}CLI
ara do behavior.rename --args '{"from":"Idle","to":"Rest"}' --why "…"