?
setVariable
Explicitly set a variable to a given value.
mindstudio.setVariable({ value }) → Result
Explicitly set a variable to a given value.
Parameters
value
object
RequiredValue to assign (string or array of strings, supports variable interpolation)
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.setVariable({ value: /* ... */ });