manage_env
Manage environment variables for Coolify applications, databases, or services: list all, set single or bulk values, and delete with confirmation.
Instructions
Manage environment variables for a Coolify resource (application, database, or service). action=list returns all vars with a redaction_hint when any value appears empty or masked. action=set upserts one var ({ key, value }) or many ({ vars: [{key,value},...] }) via bulk API. action=delete (fenced) removes a single var by its env_uuid (UUID returned from list); requires --allow-destructive and confirm:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Variable name. Required for action=set with a single var. | |
| type | Yes | The resource type. | |
| uuid | Yes | The Coolify UUID of the resource. | |
| vars | No | Array of { key, value } pairs for bulk set (action=set). | |
| value | No | Variable value. Required for action=set with a single var. | |
| action | Yes | Operation to perform on environment variables. | |
| confirm | No | Must be true to confirm destructive operations (action=delete). | |
| dry_run | No | If true, show what would be deleted without performing the action (action=delete). | |
| env_uuid | No | UUID of the env var to delete. Required for action=delete. | |
| instance | No | Coolify instance name (omit for the default). |