set_remove
Remove specified members from a Redis set using a key. The tool supports both single and multiple member removal for efficient set management in Redis databases.
Instructions
移除集合成员
Input Schema
Name | Required | Description | Default |
---|---|---|---|
key | Yes | 集合键名 | |
members | Yes | 要移除的成员或成员数组 |
Input Schema (JSON Schema)
{
"properties": {
"key": {
"description": "集合键名",
"type": "string"
},
"members": {
"description": "要移除的成员或成员数组",
"oneOf": [
{
"description": "成员",
"type": "string"
},
{
"description": "成员数组",
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"required": [
"key",
"members"
],
"type": "object"
}