Set environment variables
set_variablesSaves plain variable values such as baseUrl or userId to a workspace environment file so later requests and the app can reuse them; credentials and secret-marked variables are refused.
Instructions
Save plain variable values such as baseUrl or userId in an environment file of the workspace, so later requests and the developer's app use them. Credentials are refused, and so are variables the developer marked secret. Values set here never let requests reach a new host.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variables | Yes | Names and plain values, such as {"baseUrl": "http://localhost:8080"}. Credentials are refused; the developer sets those in the app or with --var-from-env. | |
| environment | No | The environment to change, as list_environments shows it. Defaults to the active one. A name that does not exist yet creates that environment. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | ||
| note | No | ||
| active | No | ||
| created | No | ||
| environment | No | ||
| overriddenByCommandLine | No |