Run read-only Redis command
redis_commandExecute one allowlisted read-only Redis command with tokenized arguments; mutations and risky operations like KEYS, scripting, pub/sub, and transactions are rejected.
Instructions
Run one explicitly allowlisted read-only Redis command with tokenized arguments. KEYS, scripting, administration, pub/sub, transactions, blocking operations, and all mutations are rejected.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connection_id": "<connection_id>",
"arguments": "<arguments>"
},
"name": "redis_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | Yes | Redis command name followed by already-tokenized arguments. Do not pass one shell-style command string. | |
| connection_id | Yes | ||
| response_format | No | markdown |