subscribe
Listen to a Redis channel and obtain a reusable handle that delivers messages from that channel.
Instructions
Subscribe to a Redis channel and return a reusable subscription handle.
Args: channel: The Redis channel to subscribe to.
Returns: A dictionary containing the subscription ID 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 |