redis_hscan
Paginate through a Redis hash's fields using HSCAN with a cursor, returning the next cursor for continued iteration and avoiding blocking on large hashes.
Instructions
One HSCAN page of a hash's fields. Pass the returned cursor back
in as cursor to continue; 0 means done. Paginated rather than a
single HGETALL, which can block a shared Redis server for as long
as a large hash takes to serialize.
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_hscan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| cursor | No |