tools.redis_tools module

Redis operations: get, set, delete, keys, hashes, lists, sets, and more.

Supports both the local ctx.redis client and named remote connections (with optional mTLS). dbindex 0 is reserved for the bot’s main database on the local connection only.