veryfront__create_environment_variable

Create an environment variable; a key that exists already is a conflict. 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). A key that exists already is refused as a conflict.
valuestringYesVariable value. It is never returned.

Call it

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