set_variable
Stores a named variable for later requests to reuse as {{name}}, such as a token from a login response; it persists across calls and runs; secrets are stored in the system credential store and masked.
Instructions
Set a variable that later requests use as {{name}}, for example a token you read from a login response. It persists between calls and runs and is shared with the Plunger window, the CLI and other agents. A secret (or a credential-looking name such as token or api_key) is kept in the system credential store and masked in results. A variable the user defined in the window cannot be changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name, used in requests as {{name}}. Letters, digits, _ - and . only, at most 64 characters. | |
| value | Yes | The value. For a secret it is stored in the system credential store and never returned. | |
| secret | No | Keep it as a secret: masked in results, and never written to a file. A name that looks like a credential (token, password, api_key, secret...) is always secret. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value | No | Only for non-secret variables. | |
| secret | Yes | Secret values are masked in the window and never returned here. | |
| source | Yes | `window` for a variable the user defined, `agent` for one set from the CLI or MCP. | |
| has_value | Yes | ||
| remembered | Yes | Kept in the operating system's credential store between runs. |