cache_keys
Retrieve cache instance keys matching a glob pattern using SCAN to prevent server blocking. Optionally limit results and set pattern.
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 |
|---|---|---|---|
| count | No | Max keys to return (default: 50, max: 500) | |
| pattern | No | Glob pattern (default: *) | |
| instance_id | Yes |