string_incr
Increase a numerical value stored in a Redis key by a specified or default increment. Simplify data manipulation in Redis MCP for efficient caching, counters, and real-time updates.
Instructions
递增数值
Input Schema
Name | Required | Description | Default |
---|---|---|---|
increment | No | 增量值(可选,默认为 1) | |
key | Yes | 键名 |
Input Schema (JSON Schema)
{
"properties": {
"increment": {
"description": "增量值(可选,默认为 1)",
"type": "number"
},
"key": {
"description": "键名",
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}