n8n_update_variable
Update an existing environment variable by its ID, changing the key, value, or type as needed to keep workflow settings accurate.
Instructions
Update an 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": {
"id": "<id>"
},
"name": "n8n_update_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Variable ID | |
| key | No | New key | |
| type | No | ||
| value | No | New value |