get
Retrieve a string value stored in Redis by providing its key. Returns the value or an error if the key does not exist.
Instructions
Get a Redis string value.
Args: key (str): The key to retrieve.
Returns: str, bytes: The stored value or an error message.
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>"
},
"name": "get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |