st.chat.variables.set
Set or unset chat-specific slash/macro variables to control chat behavior, with confirmation required.
Instructions
Set or unset a local slash/macro variable stored in a specific chat's chat_metadata.variables. Requires confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| force | No | ||
| unset | No | ||
| value | No | ||
| asJson | No | ||
| avatar | Yes | ||
| confirm | No | ||
| fileName | Yes | ||
| snapshotLabel | No |