veryfront__write_environment_variable

Set one environment variable, creating it or replacing its value. Requires project.env_vars.write.

Risk: mutating.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug
environment_idstringYesEnvironment ID to create the variable in.
keystringYesVariable name (e.g., API_KEY, DATABASE_URL). Creates the variable, or replaces the value when the key exists.
valuestringYesVariable value. It is never returned.

Call it

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