xrange
Retrieve specified entries from a Redis stream by providing the stream key and optional count. Ideal for efficient data extraction and management in Redis systems.
Instructions
Read entries from a Redis stream.
Args: key (str): The stream key. count (int, optional): Number of entries to retrieve.
Returns: str: The retrieved stream entries or an error message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
count | No | ||
key | Yes |
Input Schema (JSON Schema)
{
"properties": {
"count": {
"default": 1,
"title": "Count",
"type": "integer"
},
"key": {
"title": "Key",
"type": "string"
}
},
"required": [
"key"
],
"title": "xrangeArguments",
"type": "object"
}