redis_zrevrange
Retrieve a range of members from a Redis sorted set in reverse order by rank, optionally including scores.
Instructions
Get a range of members from a sorted set in reverse order.
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": {
"key": "<key>"
},
"name": "redis_zrevrange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The sorted set key. | |
| start | No | Start index. | |
| stop | No | Stop index (-1 for all). | |
| withscores | No | Include scores in output. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |