redis_lrange
Retrieves a range of elements from a Redis list. Use start and stop indices to specify the range; capped at 1000 elements.
Instructions
Get a range of elements from a list. Capped at 1000 elements; result is truncated=true with a total count if there are more.
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>",
"start": "<start>",
"stop": "<stop>"
},
"name": "redis_lrange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| stop | Yes | Stop index (0-based, inclusive, or -1 for end) | |
| start | Yes | Start index (0-based) | |
| connectionId | No | Id of the redis connection to use, from databases.config.yml. Optional when only one redis connection is configured. |