Skip to main content
Glama

Redis MCP Server

Official
by redis

rename

Change the name of a Redis key from an old identifier to a new one using the rename tool. Input the old and new key names to update keys in your Redis database efficiently.

Instructions

Renames a Redis key from old_key to new_key.

Args: old_key (str): The current name of the Redis key to rename. new_key (str): The new name to assign to the key.

Returns: Dict[str, Any]: A dictionary containing the result of the operation. On success: {"status": "success", "message": "..."} On error: {"error": "..."}

Input Schema

NameRequiredDescriptionDefault
new_keyYes
old_keyYes

Input Schema (JSON Schema)

{ "properties": { "new_key": { "title": "New Key", "type": "string" }, "old_key": { "title": "Old Key", "type": "string" } }, "required": [ "old_key", "new_key" ], "title": "renameArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/redis/mcp-redis'

If you have feedback or need assistance with the MCP directory API, please join our Discord server