Manage Container Env
manage_container_envAdd or remove a container environment variable with idempotent name+key checks. Preview changes with dryRun and resolve value conflicts before applying.
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.
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": {
"action": "<action>",
"name": "<name>",
"key": "<key>"
},
"name": "manage_container_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Environment variable name — part of idempotency key | |
| name | Yes | Container name | |
| value | No | Environment variable value (required for add) | |
| action | Yes | Action to perform | |
| dryRun | No | Preview changes without applying. | |
| routerId | No | Router ID; omit to use the default router. | |
| confirmationToken | No | Token from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action. |