redis_lrange
Retrieve a range of elements from a Redis list by specifying start and stop indices.
Instructions
Get a range of elements from a list.
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_lrange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The list key. | |
| start | No | Start index. | |
| stop | No | Stop index (-1 for all). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |