Redis MCP Server
by farhankaz
zrange
Return a range of members from a sorted set by index
Input Schema
Name | Required | Description | Default |
---|---|---|---|
key | Yes | Sorted set key | |
start | Yes | Start index (0-based) | |
stop | Yes | Stop index (inclusive) | |
withScores | No | Include scores in output |
Input Schema (JSON Schema)
{
"properties": {
"key": {
"description": "Sorted set key",
"type": "string"
},
"start": {
"description": "Start index (0-based)",
"type": "number"
},
"stop": {
"description": "Stop index (inclusive)",
"type": "number"
},
"withScores": {
"default": false,
"description": "Include scores in output",
"type": "boolean"
}
},
"required": [
"key",
"start",
"stop"
],
"type": "object"
}