set_state_var
Add or replace a flow-scoped state variable within an Easy Spec project.
Instructions
Add or replace a flow-scoped state variable (a let declared at the top of the generated function).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| flowId | Yes | ||
| initial | Yes | ||
| project | No | Path to the project root (same folder the side panel connects to). Defaults to the EASYSPEC_PROJECT environment variable if omitted. |