cache_keys
List keys in a cache instance using glob patterns like "user:" or "session:" to find specific entries without blocking the server.
Instructions
List keys in a cache instance matching an optional glob pattern (e.g. "user:", "session:"). Uses SCAN to avoid blocking the server. Returns at most count keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | ||
| pattern | No | Glob pattern (default: *) | |
| count | No | Max keys to return (default: 50, max: 500) |