set_data
Set or insert data into Redis for a specific key, with optional TTL and type controls.
Instructions
Set/insert data for a key in Redis
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Redis key to set data for | |
| ttl | No | Time to live in seconds (optional) | |
| type | No | Data type: string, list, set, hash (default: string) | |
| value | Yes | Value to set for the key |