update_data
Update an existing Redis key with a new value, optionally assigning a time-to-live (TTL). Modify stored data directly using the key and value.
Instructions
Update existing data for a key in Redis
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>",
"value": "<value>"
},
"name": "update_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Redis key to update | |
| ttl | No | Time to live in seconds (optional) | |
| value | Yes | New value for the key |