cache_generate_redis
Generate Redis caching implementation with connection pooling and serialization. Supports cache-aside, write-through, write-behind, and read-through patterns with client and cluster options.
Instructions
Generate Redis caching implementation with connection pooling and serialization
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": {
"patterns": "<patterns>"
},
"name": "cache_generate_redis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | No | Redis client library | ioredis |
| api_key | No | API key for authentication | |
| patterns | Yes | Caching patterns to implement | |
| include_cluster | No | Whether to include Redis Cluster support |