rename_key
Rename a Redis key by providing the current key name and the desired new name. The key's value remains unchanged during the operation.
Instructions
Rename a key in Redis
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": {
"oldKey": "<oldKey>",
"newKey": "<newKey>"
},
"name": "rename_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newKey | Yes | New key name | |
| oldKey | Yes | Current key name |