n8n_update_credential
Update credential authentication data or rename credentials in n8n. Rotate API keys, change OAuth tokens, or modify credential names. Workflows automatically use updated credentials.
Instructions
Update credential name or authentication data. Use this when rotating API keys or changing OAuth tokens. Workflows using this credential will use updated auth immediately.
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_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Credential ID to update | |
| name | No | New name (optional) | |
| data | No | Updated authentication data (optional) |