sadd
Add a value to a Redis set with an optional expiration time. Specify the set key, value, and expiration duration to manage data efficiently using the Redis MCP Server.
Instructions
Add a value to a Redis set with an optional expiration time.
Args: name: The Redis set key. value: The value to add to the set. expire_seconds: Optional; time in seconds after which the set should expire.
Returns: A success message or an error message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
expire_seconds | No | ||
name | Yes | ||
value | Yes |