string_set
Store and manage string key-value pairs in Redis with optional expiration. Simplify data storage and retrieval using structured input parameters for efficient database operations.
Instructions
设置字符串键值
Input Schema
Name | Required | Description | Default |
---|---|---|---|
expireSeconds | No | 过期时间(秒)(可选) | |
key | Yes | 键名 | |
value | Yes | 值 |
Input Schema (JSON Schema)
{
"properties": {
"expireSeconds": {
"description": "过期时间(秒)(可选)",
"type": "number"
},
"key": {
"description": "键名",
"type": "string"
},
"value": {
"description": "值",
"type": "string"
}
},
"required": [
"key",
"value"
],
"type": "object"
}