Update Application Environment Variable
coolify_update_app_envUpdate an existing environment variable's value on a Coolify application. Specify the variable key and new value, along with optional flags for build-time, runtime, or preview.
Instructions
Update an existing environment variable on an application. Coolify matches the var by key name — key and value are both required.
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": {
"uuid": "<uuid>",
"key": "<key>",
"value": "<value>",
"instance": "<instance>"
},
"name": "coolify_update_app_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Variable name to update | |
| uuid | Yes | Application UUID | |
| value | Yes | New variable value | |
| reveal | No | Reveal redacted secret values in the response (default false; the call is audited) | |
| instance | Yes | REQUIRED — which Coolify instance to mutate: 'prod' (Hetzner VPS) or 'dev' (local OrbStack VM). No default: state the target explicitly so a write never lands on prod by accident. | |
| is_preview | No | Preview-only flag | |
| is_runtime | No | Runtime availability | |
| is_buildtime | No | Build-time availability |