Set an app variable
set_app_variableSet a single environment variable on an app and roll it out. Call this when an app needs plain configuration such as LOG_LEVEL or a feature flag. For secrets (API keys, passwords, tokens) call set_app_secret instead if this connection has the secrets permission, else have the person use the Secrets section of the Dockhold dashboard: this tool rejects secret-looking keys.
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": {
"app_id": "<app_id>",
"key": "<key>",
"value": "<value>"
},
"name": "set_app_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Environment variable name, e.g. LOG_LEVEL | |
| value | Yes | Environment variable value | |
| app_id | Yes | The app id returned by list_apps |