list_range
Extract specific elements from a Redis list by specifying a start and stop index, enabling precise data retrieval for efficient list management.
Instructions
获取列表范围
Input Schema
Name | Required | Description | Default |
---|---|---|---|
key | Yes | 列表键名 | |
start | Yes | 起始索引 | |
stop | Yes | 结束索引 |
Input Schema (JSON Schema)
{
"properties": {
"key": {
"description": "列表键名",
"type": "string"
},
"start": {
"description": "起始索引",
"type": "number"
},
"stop": {
"description": "结束索引",
"type": "number"
}
},
"required": [
"key",
"start",
"stop"
],
"type": "object"
}