Set Environment Variable
set-environment-variableSet or update an environment variable for a Cloudways application by specifying the server, app, variable name, and value.
Instructions
Set or update an environment variable for a Cloudways application.
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": {
"server_id": "<server_id>",
"app_id": "<app_id>",
"variable_name": "<variable_name>",
"variable_value": "<variable_value>"
},
"name": "set-environment-variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | ||
| app_id | Yes | ||
| variable_name | Yes | ||
| variable_value | Yes |