Run Read-Only Redis Command
redis_commandRun read-only Redis commands such as GET, HGETALL, and TTL to retrieve data safely. Blocks write operations and KEYS, ensuring non-destructive queries.
Instructions
Run one read-only Redis command such as GET, HGETALL, LRANGE, ZRANGE, SCAN, TTL or INFO. Write commands and KEYS are refused
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments, e.g. ["user:42"] | |
| command | Yes | Command name, e.g. HGETALL | |
| database | No | Optional database to read from for this call only, without changing the active connection |