st.variables.set
Set or unset a global SillyTavern slash/macro variable to manage runtime state. Requires explicit confirmation to apply changes.
Instructions
Set or unset a global ST slash/macro variable. Requires confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| unset | No | ||
| value | No | ||
| asJson | No | ||
| confirm | No | ||
| snapshotLabel | No |