zrem
Remove a member from a Redis sorted set using the key and member parameters. Essential for data management in Redis.
Instructions
Remove a member from a Redis sorted set.
Args: key (str): The sorted set key. member (str): The member to remove.
Returns: str: Confirmation message or an error message.
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>",
"member": "<member>"
},
"name": "zrem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| member | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |