Manage Container Env
manage_container_envAdd or remove container environment variables with idempotent operations. Prevents duplicate entries and conflicts for consistent container configuration.
Instructions
Add or remove a container environment variable. Idempotent by name+key. add returns already_exists if the entry exists with the same value; throws CONFLICT if the value differs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | No | Router ID; omit to use the default router. | |
| action | Yes | Action to perform | |
| name | Yes | Container name | |
| key | Yes | Environment variable name — part of idempotency key | |
| value | No | Environment variable value (required for add) | |
| dryRun | No | Preview changes without applying. |