hset
Set a specific field in a Redis hash with an optional expiration time, enabling efficient data management and storage control in Redis MCP Server.
Instructions
Set a field in a hash stored at key with an optional expiration time.
Args: name: The Redis hash key. key: The field name inside the hash. value: The value to set. expire_seconds: Optional; time in seconds after which the key should expire.
Returns: A success message or an error message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
expire_seconds | No | ||
key | Yes | ||
name | Yes | ||
value | Yes |