redis
Execute any Redis command on a remote server, with results formatted by type and optional TLS support.
Instructions
Execute Redis commands on a Redis server. Supports all Redis commands (GET, SET, HGETALL, LPUSH, etc.). Results are formatted by type: strings, integers, arrays, and nil values. Connection is closed after each call (no session pooling). Supports TLS encryption for secure connections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Redis server hostname or IP address,required | |
| port | No | Redis port number. Default: 6379 | |
| password | No | Password for authentication | |
| db | No | Redis database number. Default: 0 | |
| command | Yes | Redis command (e.g. GET, SET, HGETALL),required | |
| args | No | Command arguments | |
| timeout_sec | No | Command timeout in seconds. Default: 30, Max: 120 | |
| tls | No | Use TLS encryption: true or false. Default: false |