veryfront__update_environment
Requires project.environments.manage.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Can change resources.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug |
environment_id | string | Yes | Environment ID Format: uuid. |
name | string | No | New environment name |
protected | boolean | No | Whether the environment is protected |
variables | object[] | No | Atomic 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. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__update_environment",7 "arguments": {8 "environment_id": "00000000-0000-4000-8000-000000000000"9 }10 }11}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
id | string | Yes | Unique identifier for the returned record. Format: uuid. |
name | string | Yes | Human-readable name for the returned record. |
project_id | string | Yes | Project identifier associated with this result. |
protected | boolean | Yes | |
domains | string[] | Yes | Custom domains attached to the environment. |
environment_variables | object[] | No |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug"7 },8 "environment_id": {9 "type": "string",10 "format": "uuid",11 "description": "Environment ID"12 },13 "name": {14 "type": "string",15 "description": "New environment name"16 },17 "protected": {18 "type": "boolean",19 "description": "Whether the environment is protected"20 },21 "variables": {22 "type": "array",23 "items": {24 "type": "object",25 "properties": {26 "key": {27 "type": "string",28 "minLength": 1,29 "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",30 "description": "Provide the key."31 },32 "value": {33 "type": "string",34 "description": "Provide the value."35 }36 },37 "required": [38 "key",39 "value"40 ],41 "additionalProperties": false,42 "description": "One variable item supplied to the tool."43 },44 "description": "Atomic 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."45 }46 },47 "required": [48 "environment_id"49 ],50 "additionalProperties": false,51 "description": "Arguments for the update_environment tool.",52 "$schema": "http://json-schema.org/draft-07/schema#"53}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "format": "uuid",7 "description": "Unique identifier for the returned record."8 },9 "name": {10 "type": "string",11 "description": "Human-readable name for the returned record."12 },13 "project_id": {14 "$ref": "#/properties/id",15 "description": "Project identifier associated with this result."16 },17 "protected": {18 "type": "boolean"19 },20 "domains": {21 "type": "array",22 "items": {23 "type": "string"24 },25 "description": "Custom domains attached to the environment."26 },27 "environment_variables": {28 "type": "array",29 "items": {30 "type": "object",31 "properties": {32 "id": {33 "type": "string",34 "description": "Unique identifier for the returned record."35 },36 "key": {37 "type": "string"38 },39 "value": {40 "type": "string",41 "const": "********"42 },43 "has_value": {44 "type": "boolean"45 }46 },47 "required": [48 "id",49 "key",50 "value",51 "has_value"52 ],53 "additionalProperties": false54 }55 }56 },57 "required": [58 "id",59 "name",60 "project_id",61 "protected",62 "domains"63 ],64 "additionalProperties": false,65 "description": "Structured result returned by the update_environment tool.",66 "$schema": "http://json-schema.org/draft-07/schema#"67}