Configure environment variables
resources.env.configureAdd, update, or remove selected app environment variables without replacing unrelated variables. Sensitive values are encrypted and redacted.
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": {
"resource_id": "<resource_id>",
"updates": "<updates>"
},
"name": "resources.env.configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| restart | No | restart the current deployment after applying changes | |
| updates | Yes | variables to add, update, or remove without replacing unrelated variables | |
| resource_id | Yes | app or service resource identifier | |
| organization_id | No | organization membership to use for this call; omit only when the account has one current membership |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |