Set environment variables
set_envSets one or more environment variables on an app, as plain values or (secret: true) as write-only secrets, and says whether the change reaches the running app now or on the next deploy. A value that looks like a credential (an API key, a token, a password) is stored as a secret even without secret: true, and the answer names it; plain: true keeps every value plain, readable by every member. Answers with variable names, never values. Changes the running app: confirm with the user first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"variables": "<variables>"
},
"name": "set_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The app's name. | |
| plain | No | Store every value as a plain variable, readable by every member of the organization, even one that looks like a credential (default false: such a value is stored as a secret). Only when the user asks for it. Cannot be combined with secret: true. | |
| secret | No | Store every value as a write-only secret (default false). | |
| variables | Yes | Variables to set, e.g. {"LOG_LEVEL": "debug"}. |