update_variable
Update an existing n8n variable by ID: rename its key or assign a new string value.
Instructions
Update an existing variable key or value.
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": "update_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Variable ID | |
| key | No | New key name | |
| value | No | New string value |