lrange
Retrieves elements from a Redis list by index range, returning them as a JSON string. Use to fetch a slice of list items for efficient data access.
Instructions
Get elements from a Redis list within a specific range.
Returns: str: A JSON string containing the list of elements or an error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| stop | Yes | ||
| start | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |