unfour.redis.check_key
unfour.redis.check_keyCheck whether an exact UTF-8 Redis key exists in a saved connection, optionally verify a hash field or compare the string value, and return metadata with the match result.
Instructions
Check one exact UTF-8 Redis key in a saved connection. Optionally check a hash field or compare the complete string/field against equals. Returns metadata and the comparison outcome.
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": {
"connectionId": "<connectionId>",
"key": "<key>"
},
"name": "unfour.redis.check_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| field | No | ||
| equals | No | ||
| workspaceId | No | ||
| connectionId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exists | Yes | ||
| pttlMs | Yes | ||
| keyType | Yes | ||
| matched | Yes |