hash_mset
Set multiple field-value pairs in a Redis hash at once using batch operations, optimizing database efficiency and reducing latency for Redis MCP server interactions.
Instructions
批量设置哈希字段
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fieldValues | Yes | 字段值对数组 | |
key | Yes | 哈希键名 |
Input Schema (JSON Schema)
{
"properties": {
"fieldValues": {
"description": "字段值对数组",
"items": {
"properties": {
"field": {
"description": "字段名",
"type": "string"
},
"value": {
"description": "字段值",
"type": "string"
}
},
"required": [
"field",
"value"
],
"type": "object"
},
"type": "array"
},
"key": {
"description": "哈希键名",
"type": "string"
}
},
"required": [
"key",
"fieldValues"
],
"type": "object"
}