upstash_redis_set
Store a key-value pair in Upstash Redis, optionally with an expiry time in seconds.
Instructions
Set a key-value pair in an Upstash Redis database.
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": {
"api_key": "<api_key>",
"email": "<email>",
"db_id": "<db_id>",
"key": "<key>",
"value": "<value>"
},
"name": "upstash_redis_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ex | No | Expiry in seconds (optional) | |
| key | Yes | ||
| db_id | Yes | ||
| Yes | |||
| value | Yes | Value to store | |
| api_key | Yes |