Redis MCP Server

zrange

Retrieve a specific range of members from a sorted set by index, optionally including their scores, to manage and access Redis database data efficiently.

Instructions

Return a range of members from a sorted set by index

Input Schema

NameRequiredDescriptionDefault
keyYesSorted set key
startYesStart index (0-based)
stopYesStop index (inclusive)
withScoresNoInclude 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" }

You must be authenticated.

Other Tools from Redis MCP Server

Related Tools

ID: cbn7lsbp7h