vercel_update_env_var
Update an existing Vercel environment variable: modify its key, value, type, or target environments using its ID.
Instructions
Update an existing environment variable
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": {
"projectId": "<projectId>",
"envVarId": "<envVarId>"
},
"name": "vercel_update_env_var"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | The new name of the environment variable | |
| type | No | The type of the environment variable | |
| value | No | The new value of the environment variable | |
| target | No | The environments where this variable should be available | |
| envVarId | Yes | The ID of the environment variable to update | |
| projectId | Yes | The ID of the project |