veryfront__update_environment

Update an environment. Requires project.environments.manage.

Risk: mutating.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug
environment_idstringYesEnvironment ID
namestringNew environment name
protectedbooleanWhether the environment is protected
variablesarrayAtomic variable upserts in this environment. Existing keys retain their IDs; omitted keys remain unchanged and returned values are masked. A non-empty list also requires project.env_vars.write.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__update_environment",    "arguments": {      "environment_id": "<environment_id>"    }  }}