subscribe
Subscribe to a Redis channel to receive messages published to it in real time.
Instructions
Subscribe to a Redis channel.
Args: channel: The Redis channel to subscribe to.
Returns: A success message 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": {
"channel": "<channel>"
},
"name": "subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |